system-keyspace: Do not call minimal_setup for the 2nd time

THe system_keyspace::minimal_setup is called by main.cc by hands
already, some steps before the regular ::setup().

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
Pavel Emelyanov
2020-11-10 15:41:01 +03:00
parent 7b82ec2f9e
commit 8bf6b1298c

View File

@@ -1265,7 +1265,6 @@ future<> setup(distributed<database>& db,
distributed<cql3::query_processor>& qp,
distributed<gms::feature_service>& feat,
sharded<netw::messaging_service>& ms) {
minimal_setup(db, qp);
return setup_version(feat, ms).then([&db] {
return update_schema_version(db.local().get_version());
}).then([] {