Refactor replication code (#1507)

* refactor: Split redis I/O logic out of dfly::Replica

* Split DFLY shard replication into a separate class.

* Address comments from CR

* Add comments

* remove dead code

* Add a virtual dtor

* * Address comments by Shahar.
* Fix the redis replication code.

* And now fix the Dragonfly replication
This commit is contained in:
Roy Jacobson 2023-07-17 20:48:19 +02:00 committed by GitHub
parent a5d8c91188
commit 6d2fcba168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 806 additions and 631 deletions

View file

@ -21,7 +21,6 @@ namespace dfly {
class Interpreter;
class ObjectExplorer; // for Interpreter
using facade::MemcacheParser;
class Service : public facade::ServiceInterface {
public:
using error_code = std::error_code;