mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 20:46:56 +00:00
Reads (part of operations) running concurrent to `drop_column_family()` can create querier cache entries while we wait for them to finish in `await_pending_ops()`. Move the cache entry eviction to after this, to ensure such entries are also cleaned up before destroying the table object. This moves the `_querier_cache.evict_all_for_table()` from `database::remove()` to `database::drop_column_family()`. With that the former doesn't have to return `future<>` anymore. While at it (changing the signature) also rename `column_family` -> `table`. Also add a regression unit test.