[MB-7202] [windows]Failed to cleanup old buckets on node 'ns_1@': {error,eacces}, rebalance failed because of it Created: 16/Nov/12  Updated: 07/May/13  Resolved: 07/May/13

Status: Closed
Project: Couchbase Server
Component/s: ns_server
Affects Version/s: 2.0
Fix Version/s: 3.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Iryna Mironava Assignee: Iryna Mironava
Resolution: Fixed Votes: 0
Labels: 2.0-release-notes, windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: build 1950
NOTE: erlang started with +A 16 option

Attachments: XML File couchbase-server-community_x86_64_2.0.0-1950-rel.setup.exe.manifest.xml    

similar problem: http://www.couchbase.com/issues/browse/MB-6957

4 nodes cluster\ 8 M items\1 ddoc with 2 views

Steps to repro:
1. Load items (resident ratio = 30%)
2. Reboot the node
3. Do not wait warm up to be completed and fail over the node
4. Wait for warm up and Add it back
5. Rebalance

rebalance fails with reason {buckets_cleanup_failed,['ns_1@']}. Failed to cleanup old buckets on node 'ns_1@': {error,eacces}

cbcollect info links are in comments

Comment by Iryna Mironava [ 16/Nov/12 ]
Comment by Chiyoung Seo [ 19/Nov/12 ]

I don't think this is a critical issue, but we need to understand why this was caused.

I don't know the meaning of "eaccess" error in erlang. When you have time, please take a look and assign it back to me if this eaccess error is caused by the engine side.
Comment by Steve Yen [ 20/Nov/12 ]
per bug-scrub
Comment by kzeller [ 05/Dec/12 ]
Added to RN:

   For the Windows platform, attempts to perform a rebalance of a restarted node
   fails due to failure to clean up old data buckets on the node.
The workaround
   is to reattempt the rebalance.
Comment by Maria McDuff (Inactive) [ 27/Mar/13 ]
per bug scrub: Iryna - pls retest in latest build of 2.0.2
Comment by Iryna Mironava [ 11/Apr/13 ]
tested build 2.0.2-761-rel, not reproduced
Generated at Thu Nov 27 12:56:21 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.