-
Type: Documentation
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
8
-
Storage - Ra 2022-02-21
Summary
When taking an incremental backup the diff had an offset greater than the filesize for the oplog.rs. This issue was seen with mongod version 5.0.6 on macOS. This reveals a potential bug in WiredTiger.
The database files and backup logs can be found in the linked HELP ticket.
Timeline of events
- Started a 2 node replica set using mongod version 5.0.6.
- Created multiple collections using the .mongorc.js script attached here.
- 2 collections - each around 1.5 GB in size
- 1000 smaller collections - each around 1 MB in size
- Took a snapshot of this data.
- Updated nearly all of the documents in the 2 larger collections using the .mongorc.js script.
- Took an incremental snapshot of this data. The snapshot seemed to work fine, but noticed that many diffs were reported for the oplog.rs collection with offsets past file size. (The diffs for the 2 large collections did NOT go past fileSize.)