[SERVER-30018] Clear ChunkSizeTracker statistics on step-up Created: 06/Jul/17 Updated: 29/Jan/18 Resolved: 14/Jul/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Hugh Han |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
When a shard secondary steps up to primary, its ChunkSizeTracker can have stale statistics. These should be reset. |
| Comments |
| Comment by Dianna Hohensee (Inactive) [ 14/Jul/17 ] |
|
Closing as won't fix. Decided it was unnecessary to clear the ChunkSizeTracker stats on step-up, as it will be informed via the OpObserver both on secondaries and primaries and thus doesn't really get stale – auto-splitting isn't sensitive enough / making any guarantees in order to worry about rollback possibly causing differences between nodes. |