[SERVER-61233] Add unittest for successful FCBIS stats Created: 04/Nov/21  Updated: 29/Oct/23  Resolved: 30/Nov/21

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

Type: Task Priority: Major - P3
Reporter: Moustafa Maher Assignee: Adi Zaimi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-57825 Provide statistics for replSetGetStat... Closed
depends on SERVER-61198 Log unified statistics for logical an... Closed
Backwards Compatibility: Fully Compatible
Sprint: Replication 2021-11-29, Replication 2021-12-13
Participants:

 Description   

We need to add cpp unitTest that stats added SERVER-57825 is being populated correctly while successful FCBIS is running across different stages:

  • after backupCursor files is retrieved.
  • after copying files from backupCursor
  • after extended the backupCursor
  • after copying files from extendedBackupCursor
  • after completing the initialSync.

For reference: 

unitTest: initial_syncer_test.cpp   

Note that we could check also before backupCursor is opened but it is futile because there is no difference in stats to after backupCursor is opened.



 Comments   
Comment by Adi Zaimi [ 30/Nov/21 ]

Evergreen merge patch https://spruce.mongodb.com/version/61a6627861837d3e7178349e/
Git checkin https://github.com/10gen/mongo-enterprise-modules/commit/49f025fde4d61d50a8a426f69dcb0dcaa5165223

Comment by Githook User [ 30/Nov/21 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-61233 Add unit tests for successful FCBIS getStats

Add more cpp unit tests to verify output of FCBIS getStats() call
upon completion of different phases of FCBIS process.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/49f025fde4d61d50a8a426f69dcb0dcaa5165223

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