[SERVER-55359] Docs in tenant migration oplog buffer collection might not be ordered by timestamp Created: 19/Mar/21  Updated: 29/Oct/23  Resolved: 23/Apr/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-52713 [testing] Add stepdown/kill/terminate... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.9
Sprint: Repl 2021-04-05, Repl 2021-04-19, Repl 2021-05-03
Participants:

 Description   

Based on the EVG patch builds for SERVER-52713, docs in the oplog buffer collection can fail this timestamp order invariant.

[j4:rs1:n0] | 2021-03-19T08:41:34.548+00:00 D1 TENANT_M 21069   [TenantMigrationRecipientService-1] "Cloner running stage","attr":{"cloner":"TenantAllDatabaseCloner","stage":"listDatabases"}
[j4:rs1:n0] | 2021-03-19T08:41:34.549+00:00 F  -        23081   [TenantMigrationRecipientService-3] "Invariant failure","attr":{"expr":"ts > previousTimestamp","msg":"ts: Timestamp(1616143294, 39), previous: Timestamp(1616143294, 41)","file":"src/mongo/db/repl/oplog_buffer_collection.cpp","line":171}



 Comments   
Comment by Githook User [ 26/Apr/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-55359 pre/post image ops after startFetchingDonorOpTime should be filtered out of oplog buffer

(cherry picked from commit 9457ca34a5e157698602e620042c6c8037023375)
Branch: v4.9
https://github.com/mongodb/mongo/commit/13bc7749febf4cdd860e28d7df72fd82b10ec1a5

Comment by Githook User [ 22/Apr/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-55359 pre/post image ops after startFetchingDonorOpTime should be filtered out of oplog buffer
Branch: master
https://github.com/mongodb/mongo/commit/9457ca34a5e157698602e620042c6c8037023375

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