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

GridFS corruption

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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.

       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.

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

              Created:
              Updated:
              Resolved: