Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-41372

cbimport may hang after receiving a max retries error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • 6.6.0
    • tools
    • None
    • Untriaged
    • 1
    • Yes

    Description

      What's the issue?
      Prior to 6.6.0, if 'cbimport' received a "fatal" error from the restore pool it would continue processing other documents and just print a warning. Upon receiving a fatal error, the worker pool will teardown (this is the desired behavior for 'cbbackupmgr'). This means that when 'cbimport' attempts to continue importing data, it hangs.

      Is this going to happen frequently?
      No, it shouldn't it will should only happen in serious failure scenarios e.g. max retries reached.

      What's the fix?
      We need to stop the restore pool for tearing down upon receiving a failure, however, we must still maintain the ability to gracefully shutdown so that 'cbbackupmgr' can teardown the worker pool after receiving a "fatal" error.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              james.lee James Lee
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty