[SERVER-51137] [SBE] Add logging for index key found with reference to non-existent RID Created: 24/Sep/20  Updated: 29/Oct/23  Resolved: 28/Apr/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: Backlog
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-55097 [SBE] Error is not returned as expect... Closed
is duplicated by SERVER-55493 Experiment with implementing index co... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2021-01-25, Query Execution 2021-02-22, Query Execution 2021-03-08, Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-05-03
Participants:

 Description   

In SERVER-50432 we removed a problem where duplicate index keys were logged under structured logging. In this fix we rehydrated the indexKey with the corresponding key pattern fields. See:

https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/working_set_common.cpp#L99-L110

We shouldn't lose this logging when SBE is on.



 Comments   
Comment by Githook User [ 28/Apr/21 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-51137 [SBE] Add logging for index key found with reference to non-existent RID
Branch: master
https://github.com/mongodb/mongo/commit/e3445d104be4422e841dbdbbd4272d696030ac2a

Comment by Anton Korshunov [ 06/Apr/21 ]

Reenable jstests/noPassthrough/query_yields_catch_index_corruption.js once this issue is fixed.

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