Details
Description
as testing cbtransfer usage. Got the following exception
Without UPR
Last login: Tue Apr 8 16:14:22 2014 from 10.17.30.208
[root@palm-10307 ~]# /opt/couchbase/bin/cbtransfer http://localhost:8091 csv:/tmp/default.db9ad29e-bf73-11e3-bbd0-6003089eed5e.csv -b default -u Administrator -p password --single-node
Exception in thread w0:
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.py", line 281, in run_worker
source_map, sink_map, self.ctl, curx).run()
File "/opt/couchbase/lib/python/pump.py", line 339, in run
rv_batch, batch = self.source.provide_batch()
File "/opt/couchbase/lib/python/pump_upr.py", line 88, in provide_batch
rv, upr_conn = self.get_upr_conn()
File "/opt/couchbase/lib/python/pump_upr.py", line 330, in get_upr_conn
self.setup_upr_streams()
File "/opt/couchbase/lib/python/pump_upr.py", line 393, in setup_upr_streams
if self.cur['seqno'][pair_index]:
KeyError: (u'default', u'10.6.2.144:8091’)
WITH UPR
Last login: Tue Apr 8 16:20:30 2014 from 10.17.30.208
[root@palm-10307 ~]# /opt/couchbase/bin/cbtransfer http://localhost:8091 csv:/tmp/default.c295030f-bf74-11e3-890f-6003089eed5e.csv -b default -u Administrator -p password --single-node
Exception in thread w0:
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.py", line 281, in run_worker
source_map, sink_map, self.ctl, curx).run()
File "/opt/couchbase/lib/python/pump.py", line 339, in run
rv_batch, batch = self.source.provide_batch()
File "/opt/couchbase/lib/python/pump_upr.py", line 88, in provide_batch
rv, upr_conn = self.get_upr_conn()
File "/opt/couchbase/lib/python/pump_upr.py", line 330, in get_upr_conn
self.setup_upr_streams()
File "/opt/couchbase/lib/python/pump_upr.py", line 393, in setup_upr_streams
if self.cur['seqno'][pair_index]:
KeyError: (u'default', u'10.6.2.144:8091')
Attachments
For Gerrit Dashboard: MB-10805 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
35518,4 | MB-10805: Check boundary condition | master | couchbase-cli | Status: MERGED | +2 | +1 |
35521,2 | MB-10805: handle boundary case for failover logs | master | couchbase-cli | Status: MERGED | +2 | +1 |