This change removes the shard constructor accepting std::string, since shard creation should be explicit.
This simplifies the interaction between write commands and the curop structure.
…e size if capped:true
…ve when running with no journal
… finished follower mode
Instead, the field should be passed in as a parameter to the executor.
…arsedQuery's default data members Closes #971 Signed-off-by: David Storch <email@example.com>
Tweak the timeouts in the getMore section of the test, and cap the number of jobs resmoke.py uses in evergreen at the number of available cores on the machine.
- secondaryOk is upconverted/downconverted from QueryOption_SlaveOk - readPreference is upconverted/downconverted from $query wrapped commands or $queryOptions - both are now accessed via OperationContext instead of being read from a mutable command object - removed logic for parsing secondaryOk and readPreference from the command execution pipeline in dbcommands.cpp
… ...} style responses
…on than find_getmore_cmd.js
Also cleaned up some includes and the namespace.
Also, limit the lifetime of OperationContext in MongoD so that it goes out of scope before sending a reply to the client. This is necessary so that operations do not appear in the currentOp command result after the server sends a response to the client.
…to OperationContext." This reverts commit e181ea3.
…ored OperationContext." This reverts commit 993fc5e.