Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Compacting Operation Stuck and Unable to Cancel (2.0-Beta)

6 replies [Last post]
  • Login or register to post comments
Wed, 09/19/2012 - 12:45
mjeanes
Offline
Joined: 09/19/2012
Groups: None

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}}}}}

Top
  • Login or register to post comments
Wed, 09/19/2012 - 23:48
ingenthr
Offline
Joined: 03/16/2010
Groups:

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.

Top
  • Login or register to post comments
Thu, 09/20/2012 - 12:52
farshid
Offline
Joined: 04/25/2011
Groups:

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

Top
  • Login or register to post comments
Fri, 09/21/2012 - 08:01
mjeanes
Offline
Joined: 09/19/2012
Groups: None

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.

Top
  • Login or register to post comments
Sat, 09/22/2012 - 13:44
ingenthr
Offline
Joined: 03/16/2010
Groups:

It'd be great to post the zipped file to the issue linked above, thanks!

Top
  • Login or register to post comments
Mon, 09/24/2012 - 08:40
mjeanes
Offline
Joined: 09/19/2012
Groups: None

The zipped file is ~90MB which exceeds the allowable file size for uploading attachments to the issue...

Top
  • Login or register to post comments
Mon, 09/24/2012 - 08:50
farshid
Offline
Joined: 04/25/2011
Groups:

http://www.couchbase.com/issues/browse/MB-6458 has been created to track this bug.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker