Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3500

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
    • 100.9.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • TAR 2024-04-01, TAR 2024-04-15
    • Tools and Replicator
    • 0.5
    • 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:
            dave.rolsky@mongodb.com Dave Rolsky
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Huan Li (Inactive), Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: