[SERVER-74136] UpdateDriver can miss index update Created: 17/Feb/23  Updated: 17/Feb/23  Resolved: 17/Feb/23

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

Type: Bug Priority: Major - P3
Reporter: Ivan Fefer Assignee: Ivan Fefer
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-70984 Decouple the concepts "in-place updat... Closed
Related
is related to SERVER-65364 Update logic should pass info about w... Closed
Operating System: ALL
Sprint: QE 2023-03-06
Participants:
Linked BF Score: 9

 Description   

After SERVER-65364 IndexCatalogImpl use different more correct logic to detect which indexes are affected by the update, compared to UpdateDriver.

The result of UpdateDriver affected indexes detection is used in only one place, so we can just remove this code from UpdateDriver and return if indexes are affected from collection_internal::updateDocument



 Comments   
Comment by Ivan Fefer [ 17/Feb/23 ]

After reading the ticket description of SERVER-70984, it is obvious that this is the exact same thing I was going to do, so I want to close this ticket as duplicate, basically.

Comment by Arun Banala [ 17/Feb/23 ]

ivan.fefer@mongodb.com Note that irina.yatsenko@mongodb.com is planning to get rid of the indexAffected flag as part of SERVER-70984, just so you both don't end up doing the same work.

Generated at Thu Feb 08 06:26:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.