[SERVER-48271] createIndexes command in fsm_workloads/invalidated_cursors.js fails with NoMatchingDocument error Created: 18/May/20  Updated: 29/Oct/23  Resolved: 22/May/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.4.0-rc7, 4.7.0

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

Issue Links:
Backports
Depends
Related
related to SERVER-48407 createIndexes command in fsm_workload... Closed
related to SERVER-48588 createIndexes command in fsm_workload... Closed
is related to SERVER-56279 Index build failure errors with NoMat... Backlog
is related to SERVER-37726 Make dropIndexes abort in-progress in... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-06-01
Participants:
Linked BF Score: 22

 Description   

The concurrency test workload invalidated_cursors.js may fail because of an unhandled NoMatchingDocument error in indexbuildentryhelpers ::getIndexBuildEntry()

Starting in SERVER-48197, the createIndexes command may fail with a NoMatchingDocument error if the index build is aborted after indexbuildentryhelpers acquires the locks on the config.system.indexBuilds collection. For concurrency tests that consider IndexBuildAborted as an acceptable error for createIndexes, we can either:

  • add NoMatchingDocument to the list of acceptable errors; or
  • update the server code to convert NoMatchingDocument errors from getIndexBuildEntry() to IndexBuildAborted.


 Comments   
Comment by Githook User [ 26/May/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-48271 Concurrency suites creating and dropping indexes should expect the NoMatchingDocument error code

(cherry picked from commit 99a412444c28051f3839ad07c6a938f6ef8e3a64)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e9011a1da5f3aa8f4a006a3a99372bd044c73324

Comment by Githook User [ 22/May/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-48271 Concurrency suites creating and dropping indexes should expect the NoMatchingDocument error code
Branch: master
https://github.com/mongodb/mongo/commit/99a412444c28051f3839ad07c6a938f6ef8e3a64

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