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

cbbackup - should monitor disk space and error before running out of space

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8.1, 2.0, 3.0
    • Fix Version/s: feature-backlog
    • Component/s: tools
    • Security Level: Public
    • Labels:
    • Sprint:
      PCI Team - Sprint 2, PCI Team - Sprint 3, PCI Team - Sprint 4, PCI Team - Sprint 8

      Description

      suggestion from sharon / customer situation where user ran cbbackup on same machine as couchbase and cbbackup consumed all disk space, thus adversely affecting the server.

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

        Activity

        Hide
        dipti Dipti Borkar added a comment -

        Need to do estimate and perform a check even before starting.

        and monitor at runtime to check for available space left and output a WARNING message to say "Only 5% of disk is available, backup may not complete successfully".

        Show
        dipti Dipti Borkar added a comment - Need to do estimate and perform a check even before starting. and monitor at runtime to check for available space left and output a WARNING message to say "Only 5% of disk is available, backup may not complete successfully".
        Hide
        anil Anil Kumar added a comment -

        Bin: Any update on this bug will this be fixed before code-freeze on Friday.

        Show
        anil Anil Kumar added a comment - Bin: Any update on this bug will this be fixed before code-freeze on Friday.
        Hide
        anil Anil Kumar added a comment -

        Moving this to 2.1 since don't have enough bandwidth.

        Show
        anil Anil Kumar added a comment - Moving this to 2.1 since don't have enough bandwidth.
        Hide
        bcui Bin Cui added a comment - - edited

        Move to backlog for the time being. We need to come up a cross platform approach to measure disk space.

        Show
        bcui Bin Cui added a comment - - edited Move to backlog for the time being. We need to come up a cross platform approach to measure disk space.
        Hide
        steve Steve Yen added a comment -

        One feedback on the "cost / benefit" side of doing something like this...

        Any disk space checks we do ahead of time or even along the way become just a polite hint, but might not save the user from out-of-space situations. Imagine, for example, cbbackup check disk space at the start of the process, but in the middle, unbeknowst to cbbackup, somebody starts downloading a giant file and sucks up disk space.

        A warning at startup, also, won't be seen by automated cron jobs that are kicking off cbbackup.

        Show
        steve Steve Yen added a comment - One feedback on the "cost / benefit" side of doing something like this... Any disk space checks we do ahead of time or even along the way become just a polite hint, but might not save the user from out-of-space situations. Imagine, for example, cbbackup check disk space at the start of the process, but in the middle, unbeknowst to cbbackup, somebody starts downloading a giant file and sucks up disk space. A warning at startup, also, won't be seen by automated cron jobs that are kicking off cbbackup.
        Hide
        don Don Pinto added a comment -

        Adding Raju + Ashvinder here - Maybe a functional issue?

        Show
        don Don Pinto added a comment - Adding Raju + Ashvinder here - Maybe a functional issue?
        Hide
        anil Anil Kumar added a comment -

        Moving this out of 3.0.2 since this would require lot of changes.

        Show
        anil Anil Kumar added a comment - Moving this out of 3.0.2 since this would require lot of changes.
        Hide
        dfinlay Dave Finlay added a comment -

        Moving this one out of Sherlock to feature-backlog. This is not a huge feature but it is non trivial getting it to work correctly on all platforms. At this point in Sherlock we are realistically not going to get to this one.

        Show
        dfinlay Dave Finlay added a comment - Moving this one out of Sherlock to feature-backlog. This is not a huge feature but it is non trivial getting it to work correctly on all platforms. At this point in Sherlock we are realistically not going to get to this one.
        Hide
        mikew Mike Wiederhold added a comment -

        We won't fix this for cbbackup, but will address this issue in our enterprise backup.

        Show
        mikew Mike Wiederhold added a comment - We won't fix this for cbbackup, but will address this issue in our enterprise backup.

          People

          • Assignee:
            bcui Bin Cui
            Reporter:
            steve Steve Yen
          • Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes