mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 08:23:29 +00:00
" There are few places that call global storage service, but all are easily fixable without significant changes. 1. alternator -- needs token metadata, switch to using proxy 2. api -- calls methods from storage service, all handlers are registered in main and can capture storage service from there 3. thrift -- calls methods from storage service, can carry the reference via controller 4. view -- needs tokens, switch to using (global) proxy 5. storage_service -- (surprisingly) can use "this" tests: unit(dev), dtest(simple_boot_shutdown, dev) " * 'br-unglobal-storage-service' of https://github.com/xemul/scylla: storage_service: Make it local storage_service: Remove (de)?init_storage_service() storage_service: Use container() in run_with(out)_api_lock storage_service: Unmark update_topology static storage_service: Capture this when appropriate view: Use proxy to get token metadata from thrift: Use local storage service in handlers thrift: Carry sharded<storage_service>& down to handler api: Capture and use sharded<storage_service>& in handlers api: Carry sharded<storage_service>& down to some handlers alternator: Take token metadata from server's storage_proxy alternator: Keep storage_proxy on server