Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8.1-release-candidate
-
Fix Version/s: 1.8.1
-
Component/s: documentation, ns_server
-
Security Level: Public
-
Labels:
-
Environment:181-884-rel
Description
To reproduce this:-
1) Set data_path of 2 nodes as /mnt
storage path after fresh installation of nodes:-
storage":{"ssd":[],"hdd":[{"path":"/mnt","quotaMb":"none","state":"ok"}]}
2) Rebalance in a node
after rebalancing in:-
"storage":{"ssd":[],"hdd":[{"path":"/mnt","quotaMb":"none","state":"ok"}]}
3) Rebalance out a node
after rebalancing the node out
"storage":{"ssd":[],"hdd":[{"path":"/opt/couchbase/var/lib/couchbase/data"}]]
4) Rebalance in the same node that is removed
after rebalancing the node out
"storage":{"ssd":[],"hdd":[{"path":"/opt/couchbase/var/lib/couchbase/data"}]]
The storage path should get updated to /mnt instead of the default path.
This is a regression from 180, cross checked this with 180 build.
1) Set data_path of 2 nodes as /mnt
storage path after fresh installation of nodes:-
storage":{"ssd":[],"hdd":[{"path":"/mnt","quotaMb":"none","state":"ok"}]}
2) Rebalance in a node
after rebalancing in:-
"storage":{"ssd":[],"hdd":[{"path":"/mnt","quotaMb":"none","state":"ok"}]}
3) Rebalance out a node
after rebalancing the node out
"storage":{"ssd":[],"hdd":[{"path":"/opt/couchbase/var/lib/couchbase/data"}]]
4) Rebalance in the same node that is removed
after rebalancing the node out
"storage":{"ssd":[],"hdd":[{"path":"/opt/couchbase/var/lib/couchbase/data"}]]
The storage path should get updated to /mnt instead of the default path.
This is a regression from 180, cross checked this with 180 build.
[{'_vclock',[{'ns_1@10.1.3.115',{2,63506323521}}]},
{dedicated_port,11209},
{bucket_engine,"/opt/couchbase/lib/memcached/bucket_engine.so"},
{engines,
[{membase,
[{engine,"/opt/couchbase/lib/memcached/ep.so"},
{initfile,"/opt/couchbase/etc/couchbase/init.sql"},
{static_config_string,
"vb0=false;waitforwarmup=false;failpartialwarmup=false;shardpattern=%d/%b-%i.mb;db_strategy=multiMTVBDB"}]},
{memcached,
[{engine,"/opt/couchbase/lib/memcached/default_engine.so"},
{static_config_string,"vb0=true"}]}]},
{port,11210},
{dedicated_port,11209},
{dbdir,"/opt/couchbase/var/lib/couchbase/data"},
{admin_user,"_admin"},
{admin_pass,"_admin"},
{verbosity,[]}] and
[{'_vclock',
[{'ns_1@10.1.3.115',{1,63506323509}},{'ns_1@127.0.0.1',{3,63506323463}}]},
{dbdir,"/mnt"},
{dedicated_port,11209},
{bucket_engine,"/opt/couchbase/lib/memcached/bucket_engine.so"},
{engines,
[{membase,
[{engine,"/opt/couchbase/lib/memcached/ep.so"},
{initfile,"/opt/couchbase/etc/couchbase/init.sql"},
{static_config_string,
"vb0=false;waitforwarmup=false;failpartialwarmup=false;shardpattern=%d/%b-%i.mb;db_strategy=multiMTVBDB"}]},
{memcached,
[{engine,"/opt/couchbase/lib/memcached/default_engine.so"},
{static_config_string,"vb0=true"}]}]},
{port,11210},
{dedicated_port,11209},
{admin_user,"_admin"},
{admin_pass,"_admin"},
{verbosity,[]}], choosing the former, which looks newer.