Start BM without config change if config is enabled.
This commit is contained in:
parent
d3fbad74a2
commit
640cee2072
|
@ -771,7 +771,7 @@ const KeyRef JSONSchemas::statusSchema = LiteralStringRef(R"statusSchema(
|
|||
"aggressive",
|
||||
"gradual"
|
||||
]},
|
||||
"blob_granules_enabled":1,
|
||||
"blob_granules_enabled":0
|
||||
},
|
||||
"data":{
|
||||
"least_operating_space_bytes_log_server":0,
|
||||
|
|
|
@ -5399,12 +5399,12 @@ ACTOR Future<Void> monitorBlobManager(ClusterControllerData* self) {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
wait(watchConfigChange);
|
||||
} else if (self->db.config.blobGranulesEnabled) {
|
||||
// if there is no blob manager present but blob granules are now enabled, recruit a BM
|
||||
if (self->db.config.blobGranulesEnabled) {
|
||||
wait(startBlobManager(self));
|
||||
}
|
||||
wait(startBlobManager(self));
|
||||
} else {
|
||||
// if there is no blob manager present and blob granules are disabled, wait for a config change
|
||||
wait(watchConfigChange);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue