Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0.1
-
Component/s: installer
-
Security Level: Public
-
Labels:
-
Environment:Linux version 2.6.18-308.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52))
Description
Have a 4 nodes cluster (http://172.23.96.12:8091). 1 default buckets 40G RAM on each node for the bucket. 200M items (920 G) in bucket. Resident is as low as 8.3%.
Try to do an offline upgrade from 181 to 2.0 build 1971:
[root@thor05 ~]# rpm -U couchbase-server-enterprise_x86_64_2.0.0-1971-rel.rpm
Stopping couchbase-server ...
Stopping couchbase-server
Upgrading couchbase-server ...
/opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes
Automatic mode: running without interactive questions or confirmations.
Upgrading your Couchbase Server to 2.0.0-1971-rel.
The upgrade process might take awhile.
Analysing...
Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat
Target node: ns_1@172.23.96.14
Couchbase should not be running.
Please use: /etc/init.d/couchbase-server stop
Database dir: /data2
Buckets to upgrade: default
Checking disk space available for buckets in directory:
/data2
Free disk bucket space wanted: 494982651904.0
Free disk bucket space available: 570048225280
Free disk space factor: 2.0
Ok.
Analysis complete.
Copying /opt/couchbase/var/lib/couchbase/config/config.dat
cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
Copying /opt/couchbase/var/lib/couchbase/ip
cp /opt/couchbase/var/lib/couchbase/ip /opt/couchbase/bin/install/../../var/lib/couchbase/ip
Ensuring bucket data directories.
Ensuring bucket data directory: /data2/default
mkdir -p /data2/default
Ensuring dbdir owner/group: /data2
chown -R couchbase:couchbase /data2
Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
Upgrading buckets.
Upgrading bucket: default
/opt/couchbase/bin/install/../cbtransfer /data2/default-data/default couchstore-files:///data2 -b default --source-vbucket-state=active --destination-vbucket-state=active
cbdbupgrade pid: 14416
[ ] 0.0% (0/49997137 msgs)
Offline upgrade hangs
Try to do an offline upgrade from 181 to 2.0 build 1971:
[root@thor05 ~]# rpm -U couchbase-server-enterprise_x86_64_2.0.0-1971-rel.rpm
Stopping couchbase-server ...
Stopping couchbase-server
Upgrading couchbase-server ...
/opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes
Automatic mode: running without interactive questions or confirmations.
Upgrading your Couchbase Server to 2.0.0-1971-rel.
The upgrade process might take awhile.
Analysing...
Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat
Target node: ns_1@172.23.96.14
Couchbase should not be running.
Please use: /etc/init.d/couchbase-server stop
Database dir: /data2
Buckets to upgrade: default
Checking disk space available for buckets in directory:
/data2
Free disk bucket space wanted: 494982651904.0
Free disk bucket space available: 570048225280
Free disk space factor: 2.0
Ok.
Analysis complete.
Copying /opt/couchbase/var/lib/couchbase/config/config.dat
cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
Copying /opt/couchbase/var/lib/couchbase/ip
cp /opt/couchbase/var/lib/couchbase/ip /opt/couchbase/bin/install/../../var/lib/couchbase/ip
Ensuring bucket data directories.
Ensuring bucket data directory: /data2/default
mkdir -p /data2/default
Ensuring dbdir owner/group: /data2
chown -R couchbase:couchbase /data2
Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
Upgrading buckets.
Upgrading bucket: default
/opt/couchbase/bin/install/../cbtransfer /data2/default-data/default couchstore-files:///data2 -b default --source-vbucket-state=active --destination-vbucket-state=active
cbdbupgrade pid: 14416
[ ] 0.0% (0/49997137 msgs)
Offline upgrade hangs
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Steve Yen
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Labels | 2.0-release-notes | |
| Fix Version/s | 2.0.1 [ 10399 ] | |
| Fix Version/s | 2.0 [ 10114 ] |
Farshid Ghods
made changes -
| Labels | 2.0-release-notes | 2.0-hotfix 2.0-release-notes |
Farshid Ghods
made changes -
| Summary | Offline upgrade hangs at cbtransfer converting sqlite file to couchstorefile | [2.0-hotfix candidate] Offline upgrade hangs at cbtransfer converting sqlite file to couchstorefile |
Steve Yen
made changes -
| Sprint Priority | 1 |
Bin Cui
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Phil Labee
made changes -
| Attachment | couchbase-server-2.0.0-HOTFIX-MB-7341.zip [ 16055 ] |
Phil Labee
made changes -
| Link | This issue is duplicated by CBQE-892 [ CBQE-892 ] |
Steve Yen
made changes -
| Sprint Status | Current Sprint | |
| Sprint Priority | 1 |
Frank Weigel
made changes -
| Attachment |
couchbase-server-2.0.0-HOTFIX- |