[SERVER-58812] tenant_migration_timeseries_retryable_write_oplog_cloning.js should get donorDoc before being garbage collected Created: 23/Jul/21  Updated: 29/Oct/23  Resolved: 23/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.3, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Wenbin Zhu Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Repl 2021-08-09
Participants:
Linked BF Score: 33

 Description   

There is a race condition in tenant_migration_timeseries_retryable_write_oplog_cloning.js. The test calls tenantMigrationTest.runMigraition() which automatically forgets migration and so the donorDoc could already be garbage collected before the test tries to lookup for the donorDoc and thus returns null.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 05/Aug/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-58812 Get donorDoc before being garbage collected in tenant_migration_timeseries_retryable_write_oplog_cloning.js

(cherry picked from commit 0651a3c85271adcfb32f94d146cf3404331c1a8c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/a8e73738f3965e95a4ca9850d80085b824861471

Comment by Githook User [ 23/Jul/21 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-58812 Get donorDoc before being garbage collected in tenant_migration_timeseries_retryable_write_oplog_cloning.js
Branch: master
https://github.com/mongodb/mongo/commit/0651a3c85271adcfb32f94d146cf3404331c1a8c

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