Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-2325

Failed: error writing data for collection `XYZ` to disk: error reading collection: read tcp x.x.x.x:44914->y.y.y.y:27017: read: connection reset by peer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 4.0.8
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
      None
    • Environment:
      kubernetis

      Description

      when i run mongodump it fail serror writing data for collection `XYZ` to disk

      in same time i see the log  on mongo

      I NETWORK  [conn5286] Error sending response to client: HostUnreachable: Connection reset by peer. Ending connection from X.X.X.X:44926 (connection id: 5286)

       its my script 

       

      rm -f /backup/data/*.gz
       
      mongodump --host=mongo --db=trainer_bot --out=/backup/data/ --gzip --username=HHH --password=***
      mongodump --host=mongo --db=trainer_image --out=/backup/data/ --gzip --username=GGG--password=***
      mongodump --host=mongo --db=trainer_book --out=/backup/data/ --gzip --username=EEE --password=***
      mongodump --host=mongo --db=trainer_expo --out=/backup/data/ --gzip --username=JJJ --password=***
      mongodump --host=mongo --db=trainer_placement --out=/backup/data/ --gzip --username=CCC-password=***
      

       

      PLS help me

        Attachments

          Activity

            People

            • Assignee:
              backlog-server-tools Backlog - Server Tools Team
              Reporter:
              aren Aren
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: