Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
This ticket is motivated by server changes made under SERVER-17718 and pushed in commit 374438c9134e6e31322.
The aforementioned commit deprecated the shell's showDiskLoc() helper and added a new showRecordId() helper. Drivers which offer a similar helper should consider doing the same.
The $showDiskLoc query flag is still the correct flag for an OP_QUERY style find, so this change shouldn't break drivers. Note, however, that the find command field has been renamed to showRecordId.
Changes made for SERVER-17718 also changed the format of the meta-projection performed by showRecordId from something like
"$diskLoc" : { "file" : 0, "offset" : 20656 }
|
to something like
"$recordId" : NumberLong(20656)
|
Drivers tests for this feature may have to be updated.
Attachments
Issue Links
- depends on
-
NODE-538 change diskLoc to showRecordId
-
- Closed
-
-
RUST-21 Change showDiskLoc to showRecordId
-
- Closed
-
-
CDRIVER-813 Change showDiskLoc to showRecordId
-
- Closed
-
-
CXX-655 Change showDiskLoc to showRecordId
-
- Closed
-
-
RUBY-1008 Change showDiskLoc to showRecordId
-
- Closed
-
- is depended on by
-
DOCS-5194 Document that cursor.showDiskLoc() is deprecated, and the new helper is cursor.showRecordId()
-
- Closed
-
- is related to
-
SERVER-17718 change showDiskLoc to showRecordId
-
- Closed
-