[SERVER-42858] Index cursor seek should not append RecordID to saved KeyString Created: 16/Aug/19  Updated: 29/Oct/23  Resolved: 20/Aug/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
is caused by SERVER-41720 Overload SortedDataInterface::Cursor:... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-08-26
Participants:
Linked BF Score: 0

 Description   

This affects WiredTiger and Mobile.

By appending the RecordId to the saved KeyString if the index type does not store the RecordId on the key, cursor restore will attempt to reposition the cursor on the wrong key.

The affects reverse cursors on the _id or pre-4.2 unique indexes.



 Comments   
Comment by Githook User [ 20/Aug/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-42858 fix unittest compile
Branch: master
https://github.com/mongodb/mongo/commit/c91ece856741b14d2c3a2cc5b2639d535b855c41

Comment by Githook User [ 20/Aug/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-42858 Index cursor seek should not append RecordID to saved KeyString
Branch: master
https://github.com/mongodb/mongo/commit/cdde2f26f6850149ff34c5267228297c6ed46c31

Generated at Thu Feb 08 05:01:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.