Details
-
Bug
-
Resolution: Works as Designed
-
Minor - P4
-
None
-
None
-
None
-
None
Description
Description
This page documents $snapshot option: https://docs.mongodb.com/v3.2/reference/operator/meta/snapshot/
It says $snapshot is deprecated in server 3.2. It appears that $snapshot is removed entirely in 4.0.
While working on https://jira.mongodb.org/browse/RUBY-1707, running the tests against 4.0 server produces this error:
[2019/08/07 16:04:59.228] # Mongo::Error::OperationFailure:
[2019/08/07 16:04:59.228] # Failed to parse: { find: "test", filter: { _id:
}, comment: "test", hint:
{ _id: 1 }, max:
{ _id: 6 }, maxScan: 5000, maxTimeMS: 6000, min:
{ _id: 0 }, returnKey: false, showRecordId: false, snapshot: false, sort:
{ _id: 1 }, skip: 2, $db: "ruby-driver", $readPreference:
{ mode: "primaryPreferred" }, lsid:
{ id: UUID("09cfd55e-c67b-4d9c-a39c-7640330fd8f5") }}. Unrecognized field 'snapshot'. (9)
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- related to
-
RUBY-1707 Test 3.6 driver against 4.0 servers
-
- Closed
-