[SERVER-54899] Pass in point-in-time value used for getHashesUsingSessions() into getCollectionDiffUsingSessions() Created: 02/Mar/21 Updated: 29/Oct/23 Resolved: 06/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Gregory Wlodarek |
| 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 2021-03-22 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
In run_check_repl_dbhash_background.js, the checkCollectionHashesForDB() function obtains collection hashes at a given time using readAtClusterTime. This point-in-time value needs to be passed into getCollectionDiffUsingSessions too to produce accurate diffs using the same storage snapshot.
See max.hirschhorn comment below for more details. |
| Comments |
| Comment by Githook User [ 06/Mar/21 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Max Hirschhorn [ 02/Mar/21 ] |
|
The purpose of introducing ReplSetTest#getHashesUsingSessions() and ReplSetTest#getCollectionDiffUsingSessions() as part of It looks like the changes from 9db1a8d as part of |