[SERVER-59057] Do not enforce fast count in validate command for config.transactions collection Created: 03/Aug/21  Updated: 29/Oct/23  Resolved: 04/Aug/21

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

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

Issue Links:
Backports
Depends
is depended on by SERVER-53351 Add resharding fuzzer task with step-... Closed
Related
related to SERVER-59058 Enable ValidateCollections Python hoo... Closed
is related to SERVER-35483 rollback makes config.transactions fa... Closed
is related to SERVER-44650 New test mode for foreground validate... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-08-09
Participants:
Story Points: 1

 Description   

There are known cases involving replication rollback for the config.transactions collection where the fast count will diverge from the actual number of records.



 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 [ 20/Sep/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-59057 Skip enforcing fast count for some config collections.

Neither config.transactions nor config.image_collection are guaranteed
to have an accurate fast count when coming out of replication rollback.

(cherry picked from commit 4efd59b012ae433cd49444075bffa3dc7bb0e88b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/5416f255ad1864bfce2507586dcba3f015e21ff6

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-59057 Skip enforcing fast count for some config collections.

Neither config.transactions nor config.image_collection are guaranteed
to have an accurate fast count when coming out of replication rollback.
Branch: master
https://github.com/mongodb/mongo/commit/4efd59b012ae433cd49444075bffa3dc7bb0e88b

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