We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DFLYCLUSTER CONFIG
1 parent e462fc0 commit 79c4a18Copy full SHA for 79c4a18
src/server/cluster/cluster_config.cc
@@ -40,7 +40,7 @@ bool HasValidNodeIds(const ClusterShardInfos& new_config) {
40
41
bool IsConfigValid(const ClusterShardInfos& new_config) {
42
// Make sure that all slots are set exactly once.
43
- array<bool, cluster::kMaxSlotNum + 1> slots_found = {};
+ vector<bool> slots_found(cluster::kMaxSlotNum + 1);
44
45
if (!HasValidNodeIds(new_config)) {
46
return false;
0 commit comments