[SERVER-81255] dbCheck log the same successful dataConsistency batches on every node in the replica set Created: 20/Sep/23  Updated: 29/Oct/23  Resolved: 26/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: pm-855-milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change
Sprint: Repl 2023-10-02
Participants:

 Description   

At the moment, dbCheck logs successful batches independently of other nodes. As a result, nodes may be logged different batches if their batchesProcessed values are different (i.e. after restart or after batch failure).

For resumability, we would like to make use of health log output to find a resume point for dbCheck. In order to support this, we should log the same batch on every node. To do this, we can add a new flag in the batch oplog entry that tells secondaries to log this batch



 Comments   
Comment by Githook User [ 26/Sep/23 ]

Author:

{'name': 'Moustafa Maher Khalil', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-81255 dbCheck log the same successful dataConsistency batches on every node in the replica set
Branch: master
https://github.com/mongodb/mongo/commit/bcf8d9b642c0be9b02fa27d85a77417291867ae6

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