cql: Remove unused "initial_tablets" mention from guardrails

All tablets configuration was moved into its own "with tablets" section,
this option name cannot be met among replication factors.

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>

Closes scylladb/scylladb#23555
This commit is contained in:
Pavel Emelyanov
2025-04-02 16:17:17 +03:00
committed by Nadav Har'El
parent 431de48df9
commit d4f3a3ee4f

View File

@@ -237,9 +237,6 @@ std::vector<sstring> check_against_restricted_replication_strategies(
// We ignore errors (non-number, negative number, etc.) here,
// these are checked and reported elsewhere.
for (auto opt : attrs.get_replication_options()) {
if (opt.first == sstring("initial_tablets")) {
continue;
}
try {
auto rf = std::stol(opt.second);
if (rf > 0) {