Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2148

GridFS corruption

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Debian buster.
      Mongo 4.2.5
      Mongo cxx driver 3.4
      Mongo cluster is not sharded and has several replicas, some are in Paris (including the current master) and some are in Ohio.

      Description

       When the replication lag is non zero ( was several hours in that specific occurrence), we see what looks like gridFS corruption when reading data from secondary nodes:

      mongocxx::gridfs_exception: expected file to have 1 chunk(s), but query to chunks collection only returned 0 chunk(s): a GridFS file being operated on was discovered to be corrupted
      

      We don't update documents in gridFS, we only create or delete them.

      Let me know if you need any other information.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              fechantillac@antidot.net Francois EE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: