summaryrefslogtreecommitdiff
path: root/src/mongo/executor/network_interface_asio_integration_fixture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-31629 Replace ErrorCodes::fromInt() with ErrorCodes::Error()Mathias Stearn2017-11-021-1/+1
| | | | | No reason to have two ways to express the same thing, and we can't get rid of ErrorCodes::Error().
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-4/+7
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-28347 enforce storage depth limit for user documentsKyle Suarez2017-03-241-1/+18
| | | | | | | Introduces a nesting depth limit for document storage, which is lower than the hard limit for general BSONObjects. Users cannot insert documents exceeding this limit, nor can they update a document to exceed it.
* SERVER-27570: Enforce stricter checks on top level command BSON objectsSpencer Jackson2017-03-081-0/+142