Files
scylla/db/legacy_schema_migrator.hh
Pavel Emelyanov 1ef34a5ada db: Add sharded<system_keyspace>& to legacy_schema_migrator
One of the class' methods calls db::drop_table_on_all_shards() that will
need sys.ks. in the next patch.

The reference in question is provided from the only caller -- main.cc

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
2023-07-21 12:38:46 +03:00

38 lines
602 B
C++

/*
* Modified by ScyllaDB
* Copyright (C) 2017-present ScyllaDB
*/
/*
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
*/
#pragma once
#include <seastar/core/future.hh>
#include <seastar/core/sharded.hh>
#include "seastarx.hh"
namespace replica {
class database;
}
namespace cql3 {
class query_processor;
}
namespace service {
class storage_proxy;
}
namespace db {
class system_keyspace;
namespace legacy_schema_migrator {
future<> migrate(sharded<service::storage_proxy>&, sharded<replica::database>& db, sharded<db::system_keyspace>& sys_ks, cql3::query_processor&);
}
}