mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-28 04:06:59 +00:00
The partitioners now depend on smp::count to be initialized correctly, but smp::count isn't available at static initialization time. The scylla executable isn't affected because it calls set_global_partitioner() after smp::count has been initialized. Fix by deferring initialization to the first global_partitioner() call.