mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
cleanups: Remove unused member, rename test, remove unused forward decl. (#1483)
This commit is contained in:
parent
aed01aa5e4
commit
bf363661e4
3 changed files with 1 additions and 5 deletions
|
@ -86,8 +86,6 @@ class ClusterConfig {
|
|||
|
||||
ClusterConfig() = default;
|
||||
|
||||
std::string my_id_;
|
||||
|
||||
ClusterShards config_;
|
||||
|
||||
// True bits in `my_slots_` indicate that this slot is owned by this node.
|
||||
|
|
|
@ -91,7 +91,7 @@ TEST_F(ClusterConfigTest, ConfigSetOk) {
|
|||
EXPECT_THAT(config->GetOwnedSlots(), UnorderedElementsAre());
|
||||
}
|
||||
|
||||
TEST_F(ClusterConfigTest, ConfigSetOkWithReplicas) {
|
||||
TEST_F(ClusterConfigTest, ConfigSetOkWithReplica) {
|
||||
auto config = ClusterConfig::CreateFromConfig(
|
||||
kMyId, {{.slot_ranges = {{.start = 0, .end = 0x3FFF}},
|
||||
.master = {.id = "other-master", .ip = "192.168.0.100", .port = 7000},
|
||||
|
|
|
@ -19,8 +19,6 @@ namespace journal {
|
|||
struct Entry;
|
||||
} // namespace journal
|
||||
|
||||
class RdbSerializer;
|
||||
|
||||
// ┌────────────────┐ ┌─────────────┐
|
||||
// │IterateBucketsFb│ │ OnDbChange │
|
||||
// └──────┬─────────┘ └─┬───────────┘
|
||||
|
|
Loading…
Reference in a new issue