[SERVER-31298] Temporary Collections created through oplog application, but not through client commands Created: 28/Sep/17  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: 3.5.12
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Robert Guo (Inactive) Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: rbfz
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File rollback_test-convertToCapped.js    
Issue Links:
Depends
Related
Assigned Teams:
Replication
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

The rollback fuzzer caught an issue when doing data validation cross a replica set that rolls back (an instance of RollbackTest) some operations and a "control group" replica set that does not roll back, there seemed to have been an issue where a temporary collection only exists on the replica set that did a rollback.

The "control group" replica set has 2 nodes to avoid differing behavior wrt. temporary collections one a standalone or single node replicates.

This suggests there's behavioral difference between oplog application vs commands performed directly by a client.

The failure is reproducible by downloading the js file attached to this ticket and running ./mongo --nodb rollback_test-convertToCapped.js

After chatting with judah.schvimer, I'm filing this ticket for future reference, but it may not be something that needs to be looked into in the immediate future.



 Comments   
Comment by Siyuan Zhou [ 09/Apr/20 ]

robert.guo, this is depended on by TIG-667. Do we still want to remove applyOps from the rollback fuzzer's blacklist? Is this ticket blocking any STM project?

Since we only support applyOps for MongoMirror, if we need to do anything in this ticket, the first thing is to understand whether the failed operation can come from MongoMirror.

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