Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56279

Index build failure errors with NoMatchingDocument as cause of commit quorum failing

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Execution Team 2021-06-14, Execution Team 2021-07-12, Execution Team 2021-07-26

               Foreground jstests/concurrency/fsm_workloads/find_cmd_with_indexes_timeseries.js
               Error: assert failed : Create index failed: {
               	"ok" : 0,
               	"errmsg" : "Index build failed: f88cdbf6-170f-48e1-9563-905b96d785ae: Collection test7_fsmdb0.system.buckets.find_cmd_with_indexes_timeseries_fsmcoll0 ( 0b690fe9-098e-4f8c-857f-7e96030112af ) :: caused by :: failed to get commit quorum before committing index build: f88cdbf6-170f-48e1-9563-905b96d785ae :: caused by :: No matching IndexBuildEntry found with indexBuildUUID: f88cdbf6-170f-48e1-9563-905b96d785ae",
               	"code" : 47,
               	"codeName" : "NoMatchingDocument",
               	"$clusterTime" : {
               		"clusterTime" : Timestamp(1619076524, 105),
               		"signature" : {
               			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
               			"keyId" : NumberLong(0)
               		}
               	},
               	"operationTime" : Timestamp(1619076524, 105)
               }
       
               quietlyDoAssert@jstests/concurrency/fsm_libs/assert.js:55:18
               assert@src/mongo/shell/assert.js:151:9
               wrapAssertFn@jstests/concurrency/fsm_libs/assert.js:65:13
               assertWithLevel@jstests/concurrency/fsm_libs/assert.js:89:9
               processCreateIndex@jstests/concurrency/fsm_workloads/find_cmd_with_indexes_timeseries.js:70:9
               createTimeIndex@jstests/concurrency/fsm_workloads/find_cmd_with_indexes_timeseries.js:98:13
               runFSM@jstests/concurrency/fsm_libs/fsm.js:132:17
               @eval:8:9
               main@jstests/concurrency/fsm_libs/worker_thread.js:217:17
               @eval:5:12
               @eval:3:24
               _threadStartWrapper@:26:16
       
        :
       throwError@jstests/concurrency/fsm_libs/runner.js:354:23
       runWorkloads@jstests/concurrency/fsm_libs/resmoke_runner.js:202:5
       @jstests/concurrency/fsm_libs/resmoke_runner.js:283:1
       @jstests/concurrency/fsm_libs/resmoke_runner.js:1:2
       failed to load: jstests/concurrency/fsm_libs/resmoke_runner.js
      

      I haven't investigated the code path on which this occurs, but I don't this kind of error should happen.

      This ticket is to improve the error message

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: