[SERVER-61308] CappedPositionLost if capped collection wraps around during tenant migration Created: 08/Nov/21  Updated: 29/Oct/23  Resolved: 10/Nov/21

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

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-61345 Handle CappedPositionLost during tena... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1
Participants:
Linked BF Score: 23

 Description   

If the capped collection wraps around such that the recipient cloner cursor loses its place, the recipient receives a CappedPositionLost error and aborts the migration. This behavior might be correct, but it currently causes rename_collection_capped.js to fail in the tenant_migration_jscore_passthrough suite.



 Comments   
Comment by Githook User [ 16/Nov/21 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-61308 Ban rename_collection_capped.js from migration passthroughs

(cherry picked from commit 364f00f2fc5f4325bb8437bb2332d109f1f875a8)
Branch: v5.1
https://github.com/mongodb/mongo/commit/ef75c91cacef77b0c478ff6eab53e40a3cf9a99a

Comment by Githook User [ 10/Nov/21 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-61308 Ban rename_collection_capped.js from migration passthroughs
Branch: master
https://github.com/mongodb/mongo/commit/364f00f2fc5f4325bb8437bb2332d109f1f875a8

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