diff options
author | Brett Nawrocki <brett.nawrocki@mongodb.com> | 2022-03-11 22:01:13 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-25 22:40:30 +0000 |
commit | 0da839803f3bd512208a2a888eaf35c6bfb3bd37 (patch) | |
tree | ba5f7be5ddb973cfdfb801143faee35e26bd2a43 /src/mongo/db/s/global_index_metrics.h | |
parent | ab7ffadb7f0a242842a31b2f12d49b4c2e97d242 (diff) | |
download | mongo-0da839803f3bd512208a2a888eaf35c6bfb3bd37.tar.gz |
SERVER-63634 ReshardingMetricsNew restores common metadata metrics
ReshardingMetricsNew will now restore after a failover the following
metrics from the ReshardingService state documents:
desc
ns
op
originatingCommand
{donor, recipient, coordinator}State
totalOperationTimeElapsedSecs
type
Diffstat (limited to 'src/mongo/db/s/global_index_metrics.h')
-rw-r--r-- | src/mongo/db/s/global_index_metrics.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/s/global_index_metrics.h b/src/mongo/db/s/global_index_metrics.h index e34a1f24a83..2fdb2984a09 100644 --- a/src/mongo/db/s/global_index_metrics.h +++ b/src/mongo/db/s/global_index_metrics.h @@ -39,11 +39,12 @@ namespace mongo { class GlobalIndexMetrics : public ShardingDataTransformInstanceMetrics { public: - GlobalIndexMetrics(UUID uuid, + GlobalIndexMetrics(UUID instanceId, + BSONObj originatingCommand, NamespaceString nss, Role role, - BSONObj keyPattern, - bool unique, + Date_t startTime, + ClockSource* clockSource, ShardingDataTransformCumulativeMetrics* cumulativeMetrics); static std::unique_ptr<GlobalIndexMetrics> makeInstance(UUID uuid, |