[SERVER-64394] Adapt Existing Test Uses of ReshardingMetrics to Use ReshardingMetricsNew Created: 09/Mar/22  Updated: 27/Oct/23  Resolved: 08/Jun/22

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

Type: New Feature Priority: Major - P3
Reporter: Brett Nawrocki Assignee: Randolph Tan
Resolution: Gone away Votes: 0
Labels: sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-64392 Achieve Feature Parity Between Existi... Closed
Related
is related to SERVER-64396 Generate Unit Test Coverage of Shardi... Closed
is related to SERVER-66422 Switch over to new resharding metrics Closed
Sprint: Sharding NYC 2022-05-30, Sharding NYC 2022-06-13
Participants:

 Description   

Adapt the existing uses of ReshardingMetrics in resharding related tests into a new test suite using ReshardingMetricsNew.

Files which contain usages of ReshardingMetrics:

  • src/mongo/db/s/resharding_test_commands.cpp
  • src/mongo/db/s/resharding/resharding_collection_cloner_test.cpp
  • src/mongo/db/s/resharding/resharding_coordinator_commit_monitor_test.cpp
  • src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp

Files which read from ReshardingMetrics as part of verifying correctness:

  • src/mongo/db/s/resharding/resharding_coordinator_service_test.cpp
  • src/mongo/db/s/resharding/resharding_donor_service_test.cpp
  • src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp
  • src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp
  • src/mongo/db/s/resharding/resharding_recipient_service_test.cpp


 Comments   
Comment by Randolph Tan [ 08/Jun/22 ]

Work has been included in SERVER-66422

Comment by Randolph Tan [ 17/May/22 ]

Note: resharding_test_commands.cpp is command used in our integration test. The actual work to switch the metrics will be done in SERVER-66422.

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