[SERVER-61365] Create Unit test case for bulk writes and TenantMigrationAborted Created: 09/Nov/21  Updated: 29/Oct/23  Resolved: 17/Nov/21

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

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2021-11-15, Server Serverless 2021-11-29
Participants:

 Description   

This is related to SERVER-61166

We are adding a case where a TenantMigrationAborted error marks a WriteOp to be retry-able. We can check using the newly added statsĀ numStaleTenantMigrationAborted to see how many errors are being retried.

We are also going to add test for partial failing due to tenantMigrationAborted (leading to partial retries).



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

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-61365 - adding unit test for batch writes resulting in tenantMigrationAborted errors
Branch: master
https://github.com/mongodb/mongo/commit/08b60a3d193eebffb8f26088efae1ba63e127684

Comment by Mathis Bessa [ 12/Nov/21 ]

Merging is currently blocked by a BF :
https://jira.mongodb.org/browse/BF-23348

The BF for my merge:
https://evergreen.mongodb.com/version/618e8d3e2a60ed433c4a72e3

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