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

cbbackupmgr fails with crypted message when there is no enough file handles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.5.0
    • tools
    • Ubuntu 16.04 and Suse 12
    • Untriaged
    • Yes

    Description

      Steps to reproduce on Ubuntu 16.04

      • Install Couchbase server 6.5.0-2001 on a ubuntu 16.04
      • Go to setting and create travel-sample bucket.
      • Create a backup repo in /tmp
      • Run cbbackupmgr to backup travel-sample => failed to backup

       root@ubuntu1604:~#  /opt/couchbase/bin//cbbackupmgr backup --archive /tmp/backup --repo backup -c http://12.11.10.147:8091 --username Administrator  --password password
       
      Backing up to 2019-01-10T10_55_48.082616999-08_00
      Copying at 0B (estimating time remaining)                                                                                                                                                                   0 items / 0B
      Error backing up cluster: invalid compaction mode
      root@ubuntu1604:
      

      Error: Transfer plan failed due to error invalid compaction mode

      Check in backup log, see these errors:

      2019-01-10T10:55:52.539-08:00 [INFO][FDB] Forestdb opened database file /tmp/backup/backup/2019-01-10T10_55_48.082616999-08_00/travel-sample-57b6017b1b45f8e8b106511f527d7e72/data/shard_1013.fdb
      2019-01-10T10:55:52.539-08:00 [INFO][FDB] Forestdb opened database file /tmp/backup/backup/2019-01-10T10_55_48.082616999-08_00/travel-sample-57b6017b1b45f8e8b106511f527d7e72/data/shard_1014.fdb
      2019-01-10T10:55:52.540-08:00 [INFO][FDB] Forestdb opened database file /tmp/backup/backup/2019-01-10T10_55_48.082616999-08_00/travel-sample-57b6017b1b45f8e8b106511f527d7e72/data/shard_1015.fdb
      2019-01-10T10:55:52.544-08:00 ERRO: invalid compaction mode -- storage.(*ForestDBFile).Open() at forestdb.go:129
      2019-01-10T10:55:52.544-08:00 ERRO: invalid compaction mode -- archive.(*archiveSink).getBucketDir() at sink.go:197
      2019-01-10T10:55:52.544-08:00 ERRO: invalid compaction mode -- plan.(*restrictions).execute() at restrictions.go:65
      2019-01-10T10:55:52.544-08:00 (Plan) Transfer plan failed due to error invalid compaction mode
      2019-01-10T10:55:52.544-08:00 (Cmd) Error backing up cluster: invalid compaction mode
      root@ubuntu1604:~#       
      
      

      The last success run for this backup is on build 6.5.0-1996
      I will upload log and cbcollectinfo to this ticket soon.

      Attachments

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

        Activity

          People

            pvarley Patrick Varley (Inactive)
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty