[SERVER-43106] Test create_index_background_wildcard.js doesn't account for orphans when run with random migrations Created: 30/Aug/19  Updated: 06/Dec/22  Resolved: 27/Mar/20

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

Type: Bug Priority: Major - P3
Reporter: Alexander Taskov (Inactive) Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-43099 Reenable random chunk migration failp... Closed
Assigned Teams:
Sharding
Operating System: ALL
Sprint: Sharding 2019-10-07, Sharding 2019-10-21, Sharding 2019-11-04, Sharding 2019-12-02, Sharding 2019-12-16, Sharding 2019-12-30
Participants:

 Description   

When run under the concurrency_sharded_causal_consistency_and_balancer suite with the random migration failpoint on, this test deletes documents randomly] without the shard key and doesn't account for the deletion of orphans in it's assertion.

Failing test run

 

[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.171+0000 2019-08-30T17:06:49.171+0000 E  QUERY    [js] Error: 2 threads with tids [1,4] threw
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.171+0000 
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.171+0000         Foreground jstests/concurrency/fsm_workloads/create_index_background_wildcard.js
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.171+0000         Error: 2 was not in [ 0, 1 ] : { "nRemoved" : 2 }
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000 
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         quietlyDoAssert@jstests/concurrency/fsm_libs/assert.js:55:18
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         assert.contains@src/mongo/shell/assert.js:305:13
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         wrapAssertFn@jstests/concurrency/fsm_libs/assert.js:65:13
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         assertWithLevel/</assertWithLevel[fn]@jstests/concurrency/fsm_libs/assert.js:104:13
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         deleteDocs@jstests/concurrency/fsm_workloads/create_index_background.js:173:17
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         runFSM@jstests/concurrency/fsm_libs/fsm.js:80:17
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         @eval:8:9
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         main@jstests/concurrency/fsm_libs/worker_thread.js:222:17
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         @eval:5:12
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         @eval:3:24
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000         _threadStartWrapper@:26:16
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000 
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000  :
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000 throwError@jstests/concurrency/fsm_libs/runner.js:357:23
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.172+0000 runWorkloads@jstests/concurrency/fsm_libs/resmoke_runner.js:202:5
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.173+0000 @jstests/concurrency/fsm_libs/resmoke_runner.js:283:1
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.173+0000 @jstests/concurrency/fsm_libs/resmoke_runner.js:1:2
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.173+0000 2019-08-30T17:06:49.172+0000 F  -        [main] failed to load: jstests/concurrency/fsm_libs/resmoke_runner.js
[fsm_workload_test:create_index_background_wildcard] 2019-08-30T17:06:49.173+0000 2019-08-30T17:06:49.172+0000 E  -        [main] exiting with code -3



 Comments   
Comment by Ratika Gandhi [ 27/Mar/20 ]

Related to fast balancer experiment. Not derived from any existing BFs.

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