[SERVER-66697] Remove outdated entries from clear registry Created: 23/May/22 Updated: 29/Oct/23 Resolved: 04/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dan Larkin-York | Assignee: | David Wang (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Execution Team 2022-08-08 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
When we decrease an era counter to zero, we should remove it from the map of counters and check if we can remove any entries from the clear registry. Specifically, we should check what the smallest remaining positive era counter is, and remove any clear entries with eras equal to or less than that value. |