Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: recompute stats after mvcc gc
Touched cockroachdb#82920 There is at least one known issue in MVCC stats calculation and there maybe more. This could lead to the MVCC GC Queue spinning on ranges with bad stats. To prevent the queue from spinning it should recompute the stats if it detects that they are wrong. The easiest mechanism to do that is to check if the GC score wants to queue this range again after finishing GC, if it does it likely indicates something fishy with the stats. Release note: None
- Loading branch information