summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops
diff options
context:
space:
mode:
authorPierlauro Sciarelli <pierlauro.sciarelli@mongodb.com>2020-07-22 10:27:34 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-22 11:48:25 +0000
commit86d94765b9030c9aa9adb3899277456e64bbd348 (patch)
tree44c3d16af4417684998a1ca7672522d95fae5fee /src/mongo/s/write_ops
parent3cab87121764327271221b205c481707c97c1c71 (diff)
downloadmongo-86d94765b9030c9aa9adb3899277456e64bbd348.tar.gz
SERVER-49321 Make VectorClock::Component protected
Diffstat (limited to 'src/mongo/s/write_ops')
-rw-r--r--src/mongo/s/write_ops/batch_write_exec_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/write_ops/batch_write_exec_test.cpp b/src/mongo/s/write_ops/batch_write_exec_test.cpp
index ec45daa5234..c2a859a6a2c 100644
--- a/src/mongo/s/write_ops/batch_write_exec_test.cpp
+++ b/src/mongo/s/write_ops/batch_write_exec_test.cpp
@@ -1596,8 +1596,7 @@ public:
auto logicalClock = std::make_unique<LogicalClock>(getServiceContext());
LogicalClock::set(getServiceContext(), std::move(logicalClock));
- VectorClock::get(getServiceContext())
- ->advanceTime_forTest(VectorClock::Component::ClusterTime, kInMemoryLogicalTime);
+ VectorClock::get(getServiceContext())->advanceClusterTime_forTest(kInMemoryLogicalTime);
_scopedSession.emplace(operationContext());