mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
The storage service needs migration manager to sync schema on lifecycle notifiers and to stop the guy on drain. So this patch just pushes the migration manager reference all the way through the storage service constructor. Few words about tests. Since now storage service needs the migration manager in constructor, some tests should take it from somewhere. The cql_test_env already has (and uses) it, all the others can just provide a not-started sharded one, it won't be in use in _those_ tests anyway. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>