Uploaded image for project: 'Percona Backup for MongoDB'
  1. Percona Backup for MongoDB
  2. PBM-407

Very large collections experienced timeout due to full-collection scan for a preliminary count

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.1.1
    • None

    Description

      Hello everyone.

      after run pbm backup (pbm and pbm-agent version 1.1.0)
      i get an error: 

      Starting backup '2020-01-17T08:19:49Z'...................
      Error starting backup: no confirmation that backup has successfully started. Replsets status:
      <no replset has started backup>
      

      But backup still working, i see this on pbm-agent log.

      when backup comes to my big collection (count object ~ 1 500 000 000 ) i have this error:

      Jan 17 08:41:58 HOST pbm-agent[39413]: 2020/01/17 08:41:58 [ERROR] backup: data dump: mongodump: make dump: error getting count from db: connection(HOST:27017[-30]) unable to decode message length: read tcp HOST1:45802->HOST2:27017: i/o timeout
      

      I also get this error on pbm version 1.0.0:

      Attachments

        Activity

          People

            andrew.pogrebnoi Andrew Pogrebnoi
            slinnik_p Stanislav Linnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist