We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e215fa commit 69ea863Copy full SHA for 69ea863
1 file changed
src/config.cc
@@ -151,6 +151,11 @@ void Config::initFieldValidator() {
151
}},
152
{"compaction-checker-range", [this](const std::string& k, const std::string& v)->Status {
153
std::vector<std::string> args;
154
+ if (v.empty()) {
155
+ compaction_checker_range.Start = -1;
156
+ compaction_checker_range.Stop = -1;
157
+ return Status::OK();
158
+ }
159
Util::Split(v, "-", &args);
160
if (args.size() != 2) {
161
return Status(Status::NotOK, "invalid range format, the range should be between 0 and 24");
0 commit comments