cbtransfer hanged when transfer backup data out

Description

Install Couchbase Server 5.0.0-2865 Community Edition on a Centos server 7.2

[root@s44015 ~]# more /opt/couchbase/etc/runtime.ini ; Configuration Settings at install-time and runtime.  Couchbase may ; modify this file, for example, at runtime when the server is secured ; and taken out of Admin Party mode. [product] title = Couchbase Server version = 5.0.0-2865 license = community

Create default bucket.  Load 1000 docs to default bucket via cbworkloadgen.

Do backup using cbbackup command

Do transfer backup data out using cbtransfer.

/opt/couchbase/bin/cbtransfer -u Administrator -p password /tmp/backup/*/*-full/ stdout:

The run was hanged with error:

Exception in thread w0: Traceback (most recent call last):   File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner     self.run()   File "/usr/lib64/python2.7/threading.py", line 764, in run     self.__target(*self.__args, **self.__kwargs)   File "/opt/couchbase/lib/python/pump.py", line 326, in run_worker     src_conf_res = source.get_conflict_resolution_type()   File "/opt/couchbase/lib/python/pump_bfd.py", line 426, in get_conflict_resolution_type     json_file = open(files[0], "r") IndexError: list index out of range

 

 

Components

Affects versions

Fix versions

Labels

Environment

Centos 7.2 64-bit

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Thuan Nguyen June 6, 2017 at 5:39 PM

Verified on build 5.0.0-3040 CE.  I could not reproduce this issue.

[root@s44018 tmp]#  /opt/couchbase/bin/cbtransfer -u cbadmin -p password /tmp/backup2/*/*-full/ stdout: > test1.txt   [####################] 100.0% (10000/estimated 10000 msgs) bucket: test, msgs transferred...        :                total |       last |    per sec  byte  :               100000 |     100000 |   271149.6

CB robot May 25, 2017 at 4:46 AM

Build 5.0.0-2948 contains couchbase-cli commit 7acef822a43bda3bc880128a3619f6637f59dc2c with commit message:
https://couchbasecloud.atlassian.net/browse/MB-24361#icft=MB-24361: Construct the meta.json path instead of using list_file()
https://github.com/couchbase/couchbase-cli/commit/7acef822a43bda3bc880128a3619f6637f59dc2c

Thuan Nguyen May 12, 2017 at 3:43 PM
Edited

This test is used to make sure CE only support full backup option only.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Yes

Triage

Triaged

Operating System

Centos 64-bit

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 12, 2017 at 3:42 PM
Updated June 6, 2017 at 5:39 PM
Resolved May 25, 2017 at 3:42 AM
Instabug