summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_oplog_fetcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_fetcher.h')
-rw-r--r--src/mongo/db/s/resharding/resharding_oplog_fetcher.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_fetcher.h b/src/mongo/db/s/resharding/resharding_oplog_fetcher.h
index 5772c6bdfaa..37f5090f0e2 100644
--- a/src/mongo/db/s/resharding/resharding_oplog_fetcher.h
+++ b/src/mongo/db/s/resharding/resharding_oplog_fetcher.h
@@ -50,25 +50,25 @@
namespace mongo {
-class ReshardingMetricsNew;
+class ReshardingMetrics;
class ReshardingOplogFetcher : public resharding::OnInsertAwaitable {
public:
class Env {
public:
- Env(ServiceContext* service, ReshardingMetricsNew* metricsNew)
- : _service(service), _metricsNew(metricsNew) {}
+ Env(ServiceContext* service, ReshardingMetrics* metrics)
+ : _service(service), _metrics(metrics) {}
ServiceContext* service() const {
return _service;
}
- ReshardingMetricsNew* metricsNew() const {
- return _metricsNew;
+ ReshardingMetrics* metrics() const {
+ return _metrics;
}
private:
ServiceContext* _service;
- ReshardingMetricsNew* _metricsNew;
+ ReshardingMetrics* _metrics;
};
// Special value to use for startAt to indicate there are no more oplog entries needing to be