mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 13:06:57 +00:00
Merged pull request https://github.com/scylladb/scylla/pull/5733 from Piotr Jastrzębski: In many places we use global_partitioner() to obtain parameters that are available in config. This PR replaces number of global_partitioner() calls with equivalent non-global ways. tests: unit(dev) * 'reduce_global_usage' of github.com:haaawk/scylla: storage_service: reduce number of global_partitioner calls cdc: remove partitioner from db_context gossiper: stop calling global_partitioner() system_keyspace: stop calling global_partitioner() transport/server: stop calling global_partitioner() thrift: stop calling global_partitioner() partitioner: move cpu_sharding_algorithm_name to token-sharding.hh