diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-03-13 06:35:51 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-04-09 10:57:16 -0400 |
commit | 1725d76f448323a2bbaa11ffd37fd7b10cd6a64b (patch) | |
tree | be35489fd99d5b0040f27d86b731cfcae1e4479a /src/mongo/db/ops/update_request.h | |
parent | acc7a72194990f35ff706bdcab7ec443c39fb0d5 (diff) | |
download | mongo-1725d76f448323a2bbaa11ffd37fd7b10cd6a64b.tar.gz |
SERVER-17573 move OpObserver calls into the datalayer as much as possible and eliminate repl bools
Diffstat (limited to 'src/mongo/db/ops/update_request.h')
-rw-r--r-- | src/mongo/db/ops/update_request.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mongo/db/ops/update_request.h b/src/mongo/db/ops/update_request.h index 99649663ece..9f69fdc3142 100644 --- a/src/mongo/db/ops/update_request.h +++ b/src/mongo/db/ops/update_request.h @@ -48,9 +48,7 @@ namespace mongo { , _god(false) , _upsert(false) , _multi(false) - , _callLogOp(false) , _fromMigration(false) - , _fromReplication(false) , _lifecycle(NULL) , _isExplain(false) , _storeResultDoc(false) @@ -103,14 +101,6 @@ namespace mongo { return _multi; } - inline void setUpdateOpLog(bool value = true) { - _callLogOp = value; - } - - bool shouldCallLogOp() const { - return _callLogOp; - } - inline void setFromMigration(bool value = true) { _fromMigration = value; } @@ -119,14 +109,6 @@ namespace mongo { return _fromMigration; } - inline void setFromReplication(bool value = true) { - _fromReplication = value; - } - - bool isFromReplication() const { - return _fromReplication; - } - inline void setLifecycle(UpdateLifecycle* value) { _lifecycle = value; } @@ -166,9 +148,7 @@ namespace mongo { << " god: " << _god << " upsert: " << _upsert << " multi: " << _multi - << " callLogOp: " << _callLogOp << " fromMigration: " << _fromMigration - << " fromReplications: " << _fromReplication << " isExplain: " << _isExplain; } private: @@ -193,15 +173,9 @@ namespace mongo { // True if this update is allowed to affect more than one document. bool _multi; - // True if the effects of the update should be written to the oplog. - bool _callLogOp; - // True if this update is on behalf of a chunk migration. bool _fromMigration; - // True if this update is being applied during the application for the oplog. - bool _fromReplication; - // The lifecycle data, and events used during the update request. UpdateLifecycle* _lifecycle; |