diff options
author | James Wahlin <james@mongodb.com> | 2019-05-20 14:45:00 -0400 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2019-05-23 10:05:59 -0400 |
commit | 358c0af2fe875d6a768cf87d7ddfaeb3181f804a (patch) | |
tree | 502be585e7d8389abb5b8dc7d032ea76ceaf7e85 /src/mongo/db/commands.h | |
parent | 017f8b201baffabbd8a66f278a4fbcaf8baced79 (diff) | |
download | mongo-358c0af2fe875d6a768cf87d7ddfaeb3181f804a.tar.gz |
SERVER-33727 Do not wait for write concern if opTime didn't change during write
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r-- | src/mongo/db/commands.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h index b11daed69f0..0715354ba07 100644 --- a/src/mongo/db/commands.h +++ b/src/mongo/db/commands.h @@ -605,8 +605,7 @@ public: * field and wait for that write concern to be satisfied after the command runs. * * @param cmd is a BSONObj representation of the command that is used to determine if the - * the command supports a write concern. Ex. aggregate only supports write concern - * when $out is provided. + * the command supports a write concern. */ virtual bool supportsWriteConcern(const BSONObj& cmdObj) const = 0; |