diff options
author | Geert Bosch <geert@mongodb.com> | 2017-11-10 11:30:52 -0500 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2018-01-05 16:44:54 -0500 |
commit | e0c177cbb21110a5f18f920d5ec08e375b303157 (patch) | |
tree | 22e31b753995b146aa23b908700813f071d9c0e8 /src/mongo/db/s/migration_source_manager.h | |
parent | 87c1731e3e077ca9e8b750ebe4b3fef534f1cbe6 (diff) | |
download | mongo-e0c177cbb21110a5f18f920d5ec08e375b303157.tar.gz |
SERVER-31911 make UUID constructor private
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.h')
-rw-r--r-- | src/mongo/db/s/migration_source_manager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_source_manager.h b/src/mongo/db/s/migration_source_manager.h index 3568e20d0a5..d6a6df981c0 100644 --- a/src/mongo/db/s/migration_source_manager.h +++ b/src/mongo/db/s/migration_source_manager.h @@ -28,6 +28,8 @@ #pragma once +#include <boost/optional.hpp> + #include "mongo/base/disallow_copying.h" #include "mongo/db/s/collection_sharding_state.h" #include "mongo/s/move_chunk_request.h" @@ -220,7 +222,7 @@ private: // The UUID of the the collection whose chunks are being moved. Default to empty if the // collection doesn't have UUID. - UUID _collectionUuid; + boost::optional<UUID> _collectionUuid; // The chunk cloner source. Only available if there is an active migration going on. To set and // remove it, global S lock needs to be acquired first in order to block all logOp calls and |