-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.2.0-rc3
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
TIG D (12/11/15)
-
0
Because MongoDB's dbHash command looks at the raw bytes of a BSON document, different ordering of the fields could produce different dbHashes. Resmoke.py currently compares the documents as unordered Python dictionaries.
max.hirschhorn suggests using pymongo's bson.SON which is an ordered dictionary. This is better than Python's ordered dictionary, which was only introduced in Python 2.7
- is related to
-
SERVER-21647 $rename changes field ordering
- Closed
-
SERVER-21613 Add CheckReplDBHash resmoke hook to jstestfuzz_replication suite
- Closed