format code; special key space notice update
This commit is contained in:
parent
dbeee1dcd0
commit
01c347d45c
|
@ -133,10 +133,10 @@ ACTOR Future<bool> dataDistributionCommandActor(Reference<IDatabase> db, std::ve
|
|||
printf("Data distribution is enabled for rebalance.\n");
|
||||
} else if (tokencmp(tokens[2], "rebalance_disk")) {
|
||||
wait(setDDIgnoreRebalanceSwitch(db, ~DDIgnore::REBALANCE_DISK));
|
||||
printf("Data distribution is disabled for rebalance_disk.\n");
|
||||
printf("Data distribution is enabled for rebalance_disk.\n");
|
||||
} else if (tokencmp(tokens[2], "rebalance_read")) {
|
||||
wait(setDDIgnoreRebalanceSwitch(db, ~DDIgnore::REBALANCE_READ));
|
||||
printf("Data distribution is disabled for rebalance_read.\n");
|
||||
printf("Data distribution is enabled for rebalance_read.\n");
|
||||
} else {
|
||||
printf(usage);
|
||||
result = false;
|
||||
|
|
|
@ -2461,14 +2461,6 @@ Future<Optional<std::string>> DataDistributionImpl::commit(ReadYourWritesTransac
|
|||
val = ""_sr;
|
||||
}
|
||||
ryw->getTransaction().set(rebalanceDDIgnoreKey, iter->value().second.get());
|
||||
// if (iter->value().second.get().size())
|
||||
// msg =
|
||||
// ManagementAPIError::toJsonString(false,
|
||||
// "datadistribution",
|
||||
// "Value is unused for the
|
||||
// data_distribution/rebalance_ignored " "key, please set it
|
||||
// to an empty value"); else ryw->getTransaction().set(rebalanceDDIgnoreKey,
|
||||
//LiteralStringRef("on"));
|
||||
} else {
|
||||
msg = ManagementAPIError::toJsonString(
|
||||
false,
|
||||
|
|
Loading…
Reference in New Issue