Compacting Operation Stuck and Unable to Cancel (2.0-Beta)
This applies to the 2.0-Beta version just released. Created a cluster of 3 nodes with 3 buckets. As I began inserting data across the 3 buckets, the admin console alerted that the buckets were compacting. After a while, I'm left with a single message of "Compacting bucket parameters" that will not go away. If I look at the 'Data Buckets' tab and expand my 'parameters' bucket, I see "Compaction: 84% complete" with no progress happening. Attempting to click the Cancel button throws an error:
"An error was encountered when requesting data from the server. The console has been reloaded to attempt to recover. There may be additional information about the error in the log."
From the log:
Client-side error-report for user "Administrator" on node 'ns_1@10.2.14.55':
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
Browser client XHR failure encountered. (age: 1127) Diagnostic info:
s: {"url":"undefined","isLocal":false,"global":true,"type":"POST","contentType":"application/x-www-form-urlencoded","processData":true,"async":true,"accepts":{"xml":"application/xml, text/xml","html":"text/html","text":"text/plain","json":"application/json, text/javascript","*":"*/*","script":"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},"contents":{"xml":{},"html":{},"json":{},"script":{}},"responseFields":{"xml":"responseXML","text":"responseText"},"converters":{"text html":true},"jsonp":"callback","timeout":30000,"cache":false,"dataTypes":["text"],"crossDomain":false,"hasContent":true}
xhrStatus: error,
xhrReadyState: 4,
errMsg: Object Not Found,
statusCode: 404,
responseText:
Not found.
Invalid post received: {mochiweb_request,#Port<0.874346>,'POST',"/undefined",
{1,1},
{16,
{"host",
{'Host',"localhost:8091"},
{"connection",
{'Connection',"keep-alive"},
{"authorization",
{'Authorization',
"Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=="},
{"accept",
{'Accept',"*/*"},
nil,
{"accept-encoding",
{'Accept-Encoding',"gzip,deflate,sdch"},
{"accept-charset",
{'Accept-Charset',
"ISO-8859-1,utf-8;q=0.7,*;q=0.3"},
nil,nil},
{"accept-language",
{'Accept-Language',"en-US,en;q=0.8"},
nil,nil}}},
{"cache-control",
{'Cache-Control',"no-cache"},
nil,nil}},
{"content-length",
{'Content-Length',"0"},
nil,
{"cookie",
{'Cookie',
"randomKey=215904687; ri=1348083563697; auth=QWRtaW5pc3RyYXRvcjpwYXNzd29yZA%3D%3D"},
nil,nil}}},
{"origin",
{"Origin","http://localhost:8091"},
{"invalid-auth-response",
{"invalid-auth-response","on"},
nil,nil},
{"x-requested-with",
{"X-Requested-With","XMLHttpRequest"},
{"pragma",
{'Pragma',"no-cache"},
nil,
{"user-agent",
{'User-Agent',
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1"},
{"referer",
{'Referer',
"http://localhost:8091/index.html"},
nil,nil},
nil}},
nil}}}}}
do you have the cluster and UI still available to collect more diagnostic information to attach to the jira ticket:
instructions:
Diagnostics/logs will give us further detail around the issue itself and the health of your environment.
cbcollect_info is a command line utility that provides us with detailed statistics for a specific node. Example usage:
/opt/couchbase/bin/cbcollect_info .zip
Do you want to use cbcollect_info on all nodes in the cluster (3)? The previous compaction operation finally completed sometime overnight, but it is in the midst of another compaction operation that seems to be exhibiting the same behavior, this time on a different bucket. I get the same error in the event log using IE with Chrome Frame as I do using Chrome natively (unsurprisingly). I have run the 'cbcollect_info .zip' command on my primary node. Let me know what you want me to do now.
It'd be great to post the zipped file to the issue linked above, thanks!
The zipped file is ~90MB which exceeds the allowable file size for uploading attachments to the issue...
http://www.couchbase.com/issues/browse/MB-6458 has been created to track this bug.
That appears to be a problem with the admin console code, possibly with this version of the browser. Can you by chance try a different browser?
I've opened http://www.couchbase.com/issues/browse/MB-6699 as well.