mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 20:46:56 +00:00
" The cql_configu is needed by storage_service to feed it to thrift/transport servers. These servers, in turn, put the config onto query_options. The final goal of this config reference is the guts of query_processor (but currently it's only used by restrictions) This way is rather long and confusing. It seems more natural to keep the cql_config on it's main "user" -- query processor. This patch set does so. However, in order to push the config into its current usage places a huge refactoring is needed -- most of the classes in cql3/statements and cql3/restrictions. It's much more handy to contunue keeping it via query_options, so the query_processor is equipped with the method to return the reference on the config to those initializing query_options. Tests: unit(debug) " * 'br-clean-client-services-from-cql-config-2' of https://github.com/xemul/scylla: storage_service: Forget cql_config transport: Forget cql_config thrift: Forget cql_config query_processor: Carry reference on cql_config