diff options
author | jannaerin <golden.janna@gmail.com> | 2020-04-03 17:29:46 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-07 21:36:43 +0000 |
commit | 242d86b0e9a4091466682bbb97d2298839a91569 (patch) | |
tree | df762dbe927750bda201133ae9d667d8352560d2 /src/mongo/db | |
parent | 402533f1804fc7b22c9cb09fad8f4f788e35f994 (diff) | |
download | mongo-242d86b0e9a4091466682bbb97d2298839a91569.tar.gz |
SERVER-42455 Make ReplicaSetChangeNotifier::onConfirmedSet safe during shutdown
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/s/sharding_initialization_mongod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/sharding_initialization_mongod.h b/src/mongo/db/s/sharding_initialization_mongod.h index 2eaefd22fbe..a8e8eec3c72 100644 --- a/src/mongo/db/s/sharding_initialization_mongod.h +++ b/src/mongo/db/s/sharding_initialization_mongod.h @@ -120,7 +120,7 @@ private: // Function for initializing the sharding environment components (i.e. everything on the Grid) ShardingEnvironmentInitFunc _initFunc; - ReplicaSetChangeListenerHandle _replicaSetChangeListener; + std::shared_ptr<ReplicaSetChangeNotifier::Listener> _replicaSetChangeListener; }; /** |