Description
In build 1717, I start restore the backup file to one node. The backup is taken from a cluster with 1024 vbuckets. But the destination is only with 128 vbuckets. We should tell the user there is a bucket mismatch.
[chisheng@cen-1715 ~]$ /opt/couchbase/bin/cbrestore ~/backupview/ http://10.5.2.23:8091 -u Administrator -p password -B bucket_0
.....................................................................................................................................................................................................................................................................................................................................................................................................Exception in thread s0:
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.6/threading.py", line 484, in run
self._target(*self.args, **self._kwargs)
File "/opt/couchbase/lib/python/pump_mc.py", line 77, in run
rv, batch, need_backoff = self.scatter_gather(mconns, batch)
File "/opt/couchbase/lib/python/pump_cb.py", line 29, in scatter_gather
rv, conn = self.find_conn(mconns, vbucket_id)
File "/opt/couchbase/lib/python/pump_cb.py", line 207, in find_conn
host_port = serverList[vBucketMap[vbucket_id][0]]
IndexError: list index out of range
IndexError: list index out of range
[1]+ Stopped /opt/couchbase/bin/cbrestore ~/backupview/ http://10.5.2.23:8091 -u Administrator -p password -B bucket_0