[SERVER-81258] create_capped_collection_visibility_snapshot FSM workload tries to tail non-capped collection Created: 20/Sep/23  Updated: 07/Nov/23  Resolved: 09/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Matt Broadstone Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-81007 FSM workloads no longer fail when $co... Closed
is related to SERVER-81236 create_capped_collection_visibility_s... Closed
Assigned Teams:
Storage Execution EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.1
Sprint: Execution EMEA Team 2023-10-16
Participants:

 Description   

After fixing FSM error reporting in SERVER-81007, the create_capped_collection_visibility_snapshot workload began failing with the following error(s):

[fsm_workload_test:create_capped_collection_visibility_snapshot]         1 thread with tids [18] threw
[fsm_workload_test:create_capped_collection_visibility_snapshot]         Foreground jstests/concurrency/fsm_workloads/create_capped_collection_visibility_snapshot.js
[fsm_workload_test:create_capped_collection_visibility_snapshot]         Error: command failed: {
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"ok" : 0,
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"errmsg" : "error processing query: ns=local.create_capped_collection_visibility_snapshot1 batchSize=0Tree: $and\nSort: {}\nProj: {}\n tailable cursor requested on non capped collection",
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"code" : 2,
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"codeName" : "BadValue"
[fsm_workload_test:create_capped_collection_visibility_snapshot]         } with original command request: {
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"find" : "create_capped_collection_visibility_snapshot1",
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"filter" : {
[fsm_workload_test:create_capped_collection_visibility_snapshot] 
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	},
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"tailable" : true,
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"batchSize" : 0,
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	"lsid" : {
[fsm_workload_test:create_capped_collection_visibility_snapshot]         		"id" : UUID("cd621759-097a-443e-a0f1-2ac675e304be")
[fsm_workload_test:create_capped_collection_visibility_snapshot]         	}
[fsm_workload_test:create_capped_collection_visibility_snapshot]         } on connection: connection to localhost:20000
[fsm_workload_test:create_capped_collection_visibility_snapshot] 
[fsm_workload_test:create_capped_collection_visibility_snapshot]         _getErrorWithCode@src/mongo/shell/utils.js:24:13
[fsm_workload_test:create_capped_collection_visibility_snapshot]         quietlyDoAssert@/data/mci/cc8b3bf9ad0cfe7d5223fb696ed1881e/src/jstests/concurrency/fsm_libs/assert.js:57:18
[fsm_workload_test:create_capped_collection_visibility_snapshot]         _assertCommandWorked@src/mongo/shell/assert.js:748:25
[fsm_workload_test:create_capped_collection_visibility_snapshot]         assert.commandWorked@src/mongo/shell/assert.js:842:16
[fsm_workload_test:create_capped_collection_visibility_snapshot]         wrapAssertFn@/data/mci/cc8b3bf9ad0cfe7d5223fb696ed1881e/src/jstests/concurrency/fsm_libs/assert.js:70:22
[fsm_workload_test:create_capped_collection_visibility_snapshot]         assertWithLevel/</assertWithLevel[fn]@/data/mci/cc8b3bf9ad0cfe7d5223fb696ed1881e/src/jstests/concurrency/fsm_libs/assert.js:111:20
[fsm_workload_test:create_capped_collection_visibility_snapshot]         getMore@/data/mci/cc8b3bf9ad0cfe7d5223fb696ed1881e/src/jstests/concurrency/fsm_workloads/create_capped_collection_visibility_snapshot.js:56:30
[fsm_workload_test:create_capped_collection_visibility_snapshot]         runFSM@/data/mci/cc8b3bf9ad0cfe7d5223fb696ed1881e/src/jstests/concurrency/fsm_libs/fsm.js:157:20
[fsm_workload_test:create_capped_collection_visibility_snapshot]         @eval:8:19
[fsm_workload_test:create_capped_collection_visibility_snapshot]         main@/data/mci/cc8b3bf9ad0cfe7d5223fb696ed1881e/src/jstests/concurrency/fsm_libs/worker_thread.js:229:23

(full log)



 Comments   
Comment by Githook User [ 06/Oct/23 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-81258 Fix concurrency issues with create_capped_collection_visibility_snapshot
Branch: master
https://github.com/mongodb/mongo/commit/0691aae8a92e62e020fca5ebdc9e49ae24b429ac

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