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

cbbackupmgr needs to check for diskspace and memory before executing operations on archive

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • feature-backlog
    • 4.5.1
    • tools
    • None

    Description

      cbbackupmgr should make additional checks to verify whether there is sufficient memory and disk space before executing any operations on an archive and should display appropriate messages on the console if sufficient resources are not available.

      For example: Currently if there is limited memory and the size of an archive file is huge, when the command cbbackupmgr list --archive <archive-location> is executed, the cbbackupmgr does not show any output on the console (not even errors / stack trace). It justs shows a run time exception in the backup.log.

      fatal error: unexpected signal during runtime execution
      [signal 0xb code=0x1 addr=0x7ffffff0 pc=0x7f9c7997e0cd]
       
      runtime stack:
      runtime.throw(0x990f00, 0x2a)
          /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/panic.go:527 +0x90
      runtime.sigpanic()
          /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/sigpanic_unix.go:12 +0x5a
       
      goroutine 1 [syscall, locked to thread]:
      runtime.cgocall(0x776300, 0xc820047498, 0x0)
          /home/couchbase/.cbdepscache/exploded/x86_64/go-1.5.2/go/src/runtime/cgocall.go:120 +0x11b fp=0xc820047468 sp=0xc820047438
      github.com/couchbase/goforestdb._Cfunc_fdb_open(0xc8200260c0, 0x1616780, 0xc82005bee0, 0xc800000000)

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              sindhura.palakodety Sindhura Palakodety (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty