feat(server): support cluster replication (#2748)

* feat(server): support cluster replication

Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
adiholden 2024-03-26 15:26:19 +02:00 committed by GitHub
parent 3abee8a361
commit 2ad7439128
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 626 additions and 138 deletions

View file

@ -160,6 +160,10 @@ enum class GlobalState : uint8_t {
TAKEN_OVER,
};
std::ostream& operator<<(std::ostream& os, const GlobalState& state);
std::ostream& operator<<(std::ostream& os, ArgSlice list);
enum class TimeUnit : uint8_t { SEC, MSEC };
inline void ToUpper(const MutableSlice* val) {