Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
table: Fix quadratic behavior when inserting sstables into tracker on…
… schema change Each time backlog tracker is informed about a new or old sstable, it will recompute the static part of backlog which complexity is proportional to the total number of sstables. On schema change, we're calling backlog_tracker::replace_sstables() for each existing sstable, therefore it produces O(N ^ 2) complexity. Fixes #12499. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Closes #12593
- Loading branch information