[SERVER-26041] Use bsonBinaryEqual in checkDBHashesForReplSet Created: 09/Sep/16 Updated: 21/Nov/16 Resolved: 12/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.10, 3.3.14 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jonathan Abrahams | Assignee: | Jonathan Abrahams |
| Resolution: | Done | Votes: | 0 |
| Labels: | test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Completed: | |||||||||
| Sprint: | TIG 2016-09-19 | ||||||||
| Participants: | |||||||||
| Description |
|
The checkDBHashesForReplSet (in src/mongo/shell/replsettest.js) currently uses bsonWoCompare, which doesn't fail if there are type differences, like NumberLong and NumberInt. The new function bsonBinaryEqual should be used instead. |
| Comments |
| Comment by Githook User [ 12/Sep/16 ] |
|
Author: {u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}Message: |
| Comment by Githook User [ 12/Sep/16 ] |
|
Author: {u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}Message: |