Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7764

Investigate changes in SERVER-88071: Deprecate filemd5 with the intent of eventual removal

    • Type: Icon: Investigation Investigation
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Developer Tools
    • Not Needed

      Original Downstream Change Summary

      This change would deprecate the filemd5 command, and eventually remove it from the server.

      Description of Linked Ticket

      Per documentation, filemd5 is a command which:

          The filemd5 command returns the md5 hash for a single file stored using the GridFS specification. Client libraries use this command to verify that files are correctly written to MongoDB. The command takes the files_id of the file in question and the name of the GridFS root collection as arguments.
      

      Per drivers specification,

      Drivers MUST NOT run the 'filemd5' database command to confirm that all chunks were successfully uploaded. We assume that if none of the inserts failed then the chunks must have been successfully inserted, and running the 'filemd5' command would just be unnecessary overhead and doesn't work for sharded chunk keys anyway.
      

      The implementation of this command is complicated. Given that it's no longer needed, we should deprecate it with the intent to eventually remove it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: