diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-01-05 10:56:41 -0500 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-01-05 10:56:41 -0500 |
commit | ba55f2573976ba570c2319bce9b598f0a660445f (patch) | |
tree | 7fc8adb43798e03517933c4e575dcbebe8f42087 /src/mongo/db/repl/collection_cloner.cpp | |
parent | f5fbf31650eea903edbbcd2f9ef042b4c39e2ecb (diff) | |
download | mongo-ba55f2573976ba570c2319bce9b598f0a660445f.tar.gz |
SERVER-25932 Make MONGO_EXPORT_SERVER_PARAMETER use AtomicWord instead of std::atomic
Diffstat (limited to 'src/mongo/db/repl/collection_cloner.cpp')
-rw-r--r-- | src/mongo/db/repl/collection_cloner.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/collection_cloner.cpp b/src/mongo/db/repl/collection_cloner.cpp index 329207b4cf9..a284732393b 100644 --- a/src/mongo/db/repl/collection_cloner.cpp +++ b/src/mongo/db/repl/collection_cloner.cpp @@ -97,7 +97,7 @@ CollectionCloner::CollectionCloner(executor::TaskExecutor* executor, RemoteCommandRequest::kNoTimeout), stdx::bind(&CollectionCloner::_countCallback, this, stdx::placeholders::_1), RemoteCommandRetryScheduler::makeRetryPolicy( - numInitialSyncCollectionCountAttempts, + numInitialSyncCollectionCountAttempts.load(), executor::RemoteCommandRequest::kNoTimeout, RemoteCommandRetryScheduler::kAllRetriableErrors)), _listIndexesFetcher(_executor, @@ -112,7 +112,7 @@ CollectionCloner::CollectionCloner(executor::TaskExecutor* executor, rpc::ServerSelectionMetadata(true, boost::none).toBSON(), RemoteCommandRequest::kNoTimeout, RemoteCommandRetryScheduler::makeRetryPolicy( - numInitialSyncListIndexesAttempts, + numInitialSyncListIndexesAttempts.load(), executor::RemoteCommandRequest::kNoTimeout, RemoteCommandRetryScheduler::kAllRetriableErrors)), _findFetcher( @@ -130,7 +130,7 @@ CollectionCloner::CollectionCloner(executor::TaskExecutor* executor, rpc::ServerSelectionMetadata(true, boost::none).toBSON(), RemoteCommandRequest::kNoTimeout, RemoteCommandRetryScheduler::makeRetryPolicy( - numInitialSyncCollectionFindAttempts, + numInitialSyncCollectionFindAttempts.load(), executor::RemoteCommandRequest::kNoTimeout, RemoteCommandRetryScheduler::kAllRetriableErrors)), |