[SERVER-23789] validate() failure on compound index and $maxkey on mmapv1 Created: 18/Apr/16  Updated: 16/May/16  Resolved: 26/Apr/16

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Internal Code
Affects Version/s: 3.3.4
Fix Version/s: 3.3.6

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

db.validatefail.insert({a:MaxKey, b:MaxKey})
db.validatefail.createIndex({a:1, b:1})
db.validatefail.validate(true)

Sprint: TIG 13 (04/22/16), TIG 14 (05/13/16)
Participants:
Linked BF Score: 0

 Description   

validate() will fail to find a document containing $maxkey in a compound index on mmapv1. This problem does not show up on WT

Not sure if it an issue with validate() or mmapv1 at the moment.



 Comments   
Comment by Githook User [ 26/Apr/16 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-23789 make validate() work with MaxKey and MinKey
Branch: master
https://github.com/mongodb/mongo/commit/992ef367f553b7b2c5f754ca7cfc3ce3769f6581

Generated at Thu Feb 08 04:04:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.