Change showDiskLoc to showRecordId

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      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.

              Assignee:
              Barrie Segal (Inactive)
              Reporter:
              David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: