[SERVER-62243] Wait for vector clock document majority-commit without timeout Created: 23/Dec/21  Updated: 29/Oct/23  Resolved: 24/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 5.1.2, 5.0.6, 5.2.0-rc3

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

Issue Links:
Backports
Related
related to SERVER-62245 MigrationRecovery must not assume tha... Closed
is related to SERVER-62213 Investigate presence of multiple migr... Closed
is related to SERVER-49192 Persist the VectorClock for configTim... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.2, v5.1, v5.0
Sprint: Sharding EMEA 2021-12-27
Participants:
Case:

 Description   

The vector clock document update is currently performed waiting for majority write concern up to 60 seconds before returning a WriteConcernFailed exception to the caller.

As persisting the new configTime|topologyTime is required for ensuring causal consistency, callers must wait indefinitely for the updated times to be persisted. The write concern must not have a timeout and only fail in case of step-downs.



 Comments   
Comment by Githook User [ 24/Dec/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-62243 Wait for vector clock document majority-commit without timeout
Branch: v5.0
https://github.com/mongodb/mongo/commit/75efc544765889b9b9e7aae6c31a6cb0753853f8

Comment by Githook User [ 24/Dec/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-62243 Wait for vector clock document majority-commit without timeout
Branch: v5.1
https://github.com/mongodb/mongo/commit/93787a1393fae118605b00a8950d5d3d59f4f8d0

Comment by Githook User [ 24/Dec/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-62243 Wait for vector clock document majority-commit without timeout
Branch: v5.2
https://github.com/mongodb/mongo/commit/c37974e1a2f7e3762f4b8c10446869c833643859

Comment by Githook User [ 24/Dec/21 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-62243 Wait for vector clock document majority-commit without timeout
Branch: master
https://github.com/mongodb/mongo/commit/ebe76b776d7f183d8d7d0df9db860abe273b8aad

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