-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: mongorestore
-
None
-
Tools and Replicator
-
40
Problem Statement/Rationale
Some binary data values are replayed with values different from the dumped on the oplog BSON file.
The objective is to work on mongorestore to ensure that consistency is applied to all data types.
Steps to Reproduce
The issue was found for values dumped as BinData(2,"AAAAAA=="), which were replayed as BinData(2,"BAAAAAAAAAA="). Totally reproducible with multiple mongorestore versions.
- Create data in a source replica set so mongodump takes time to finish
- Run mongodump with --oplog along with more insertion of random binary data
- Run mongorestore with --oplogreplay in a target replica set
- Parse the oplog.rs.bson file into a json file
- Compare the data in the target replica set with both, the source and the parsed bson file
Expected Results
The objective is to work on mongorestore to ensure that consistency is applied to all data types.
Actual Results
The issue was found for values dumped as BinData(2,"AAAAAA=="), which were replayed as BinData(2,"BAAAAAAAAAA=")