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

cbrecovery will never run for vbucket 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.1.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None
    • all platforms

    Description

      In cbrecovery:

      134 if vbucket:
      135 params = urllib.urlencode(

      {"vbucket": vbucket}

      )

      Thus when vbucket 0 is missing, it will never run through the code, giving us this error:

      root@ubu-0107:~# /opt/couchbase/bin/cbrecovery http://Administrator:password@10.1.3.72:8091 http://Administrator:password@10.3.3.141:8091 -b default -B default
      2013-05-07 14:06:11,430: MainThread Missing vbuckets to be recovered:[

      {"node": "ns_1@10.3.4.25", "vbuckets": [0]}

      ]
      [ ] 0.1% (100/100000 msgs)
      bucket: default, msgs transferred...
      : total | last | per sec
      batch : 4 | 4 | 27.2
      byte : 25600 | 25600 | 174003.9
      msg : 100 | 100 | 679.7
      transfer data only. bucket design docs will be skipped.
      done
      2013-05-07 14:06:11,678: mt Error:recovery_uuid query parameter is missing

      The change would be:

      134 if vbucket is not None:
      135 params = urllib.urlencode(

      {"vbucket": vbucket}

      )

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty