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

mongofiles --replace replaces fs.files document but not fs.chunks document

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc4
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongofiles
    • None

      $ ./bin/mongofiles put "filename" --port 4321 -d jenna

      file:
      { "_id" : ObjectId("503bb2068826954f19de40cb"), "filename" : "filename", ... }
      chunk:
      { "_id" : ObjectId("503bb206ab0d9df6c1c0bac0"), "files_id" : ObjectId("503bb2068826954f19de40cb"), ... }
      

      $ ./bin/mongofiles put -r "filename" --port 4321 -d jenna

      files:
      { "_id" : ObjectId("503bb22cee0fe59894ac9b9d"), "filename" : "filename", ...}
      chunks:
      { "_id" : ObjectId("503bb206ab0d9df6c1c0bac0"), "files_id" : ObjectId("503bb2068826954f19de40cb"), ... }
      { "_id" : ObjectId("503bb22cab0d9df6c1c0bac1"), "files_id" : ObjectId("503bb22cee0fe59894ac9b9d"), ... }
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            jenna Jenna deBoisblanc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: