diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2014-11-13 13:40:45 -0500 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2014-11-13 13:40:45 -0500 |
commit | 056b9a0e411e83e19577ff814ac65eb677b05ae0 (patch) | |
tree | 4da77f8b4a7d9704663d35b199f613e9121f7a7a | |
parent | f10ba2d36f36c01a8cc463d84b7c2f3a5d8af879 (diff) | |
download | mongo-056b9a0e411e83e19577ff814ac65eb677b05ae0.tar.gz |
SERVER-16102 Correct comment about meaning of (GX) in repl_coordinator_impl.h
-rw-r--r-- | src/mongo/db/repl/repl_coordinator_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/repl_coordinator_impl.h b/src/mongo/db/repl/repl_coordinator_impl.h index f8c089d97b7..13bfaada056 100644 --- a/src/mongo/db/repl/repl_coordinator_impl.h +++ b/src/mongo/db/repl/repl_coordinator_impl.h @@ -741,9 +741,9 @@ namespace repl { // (X) Reads and writes must be performed in a callback in _replExecutor // (MX) Must hold _mutex and be in a callback in _replExecutor to write; must either hold // _mutex or be in a callback in _replExecutor to read. - // (GX) Readable under a global intent lock or from the executor context. Must either hold - // global lock in exclusive mode (MODE_X) or both hold global lock in shared - // mode (MODE_S) and be in executor context to write. + // (GX) Readable under a global intent lock. Must either hold global lock in exclusive + // mode (MODE_X) or both hold global lock in shared mode (MODE_S) and be in executor + // context to write. // (I) Independently synchronized, see member variable comment. // Protects member data of this ReplicationCoordinator. |