diff options
author | Geert Bosch <geert@mongodb.com> | 2017-12-08 09:50:02 -0500 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2017-12-21 14:35:48 -0500 |
commit | 826e020e3a23582c93c42a2986504ae567ff027f (patch) | |
tree | 9ed1c76dd99d4d42c548b465f171c032832b3689 /src/mongo/db/service_context.h | |
parent | fb8046d813af032d6d51327affbab9b6199fe654 (diff) | |
download | mongo-826e020e3a23582c93c42a2986504ae567ff027f.tar.gz |
SERVER-29602 New OpObserverRegistry to allow multiple observers
Also removes sharding specific interfaces for OpObserver.
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r-- | src/mongo/db/service_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h index 681bbdc6262..775fd60d0e4 100644 --- a/src/mongo/db/service_context.h +++ b/src/mongo/db/service_context.h @@ -380,7 +380,8 @@ public: void setOpObserver(std::unique_ptr<OpObserver> opObserver); /** - * Return the OpObserver instance we're using. + * Return the OpObserver instance we're using. This may be an OpObserverRegistry that in fact + * contains multiple observers. */ OpObserver* getOpObserver() const { return _opObserver.get(); |