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

When Does inconsistent_state Occur?

4 replies [Last post]
  • Login or register to post comments
Fri, 03/30/2012 - 03:03
biswajit
Offline
Joined: 03/28/2012
Groups: None

I am getting

{"error":"error","reason":"inconsistent_state"}

Error while fetching view. Anyone knows when does this occur?

Top
  • Login or register to post comments
Sun, 04/01/2012 - 14:23
ingenthr
Offline
Joined: 03/16/2010
Groups:

It can occur during some index updates. Let me try to get a better answer for you though.

It can also, according to the release notes, occur during a flush. Have you done a flush by chance?

See http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-server-rn_2...

Top
  • Login or register to post comments
Mon, 04/02/2012 - 11:03
ingenthr
Offline
Joined: 03/16/2010
Groups:

I've looked into this some more and generally speaking, you should not see an inconsistent_state. It may happen if during the view request, the cluster finds the location of data to be out of synch with what it expects it to be. It will automatically resynch and retry a number of times before returning this error though.

Along with the flush, the other possibility is that a process is unexpectedly crashing. This is not something we'd expect to happen, of course. Usually if we can get some good data about the nature of the crash, we can fix it straight away.

If this is what happened, it should be clear from the logs, and if you see that there it'd be really useful to us if you could click on the "generate diagnostic report" link, compress the resulting file, and attach it to an issue at www.couchbase.com/issues. The project is Couchbase Server and leave the component blank. We'll get it to the right place. If you post the issue number here, others will be able to refer to it though.

Top
  • Login or register to post comments
Mon, 04/02/2012 - 22:16
biswajit
Offline
Joined: 03/28/2012
Groups: None

Thanks for Replying.......But I believe that problem is solved in DP4. The inconsistent state occurred with only 100 data and 6 views running on top of it. I wish I had the diagnostic report with me now. ;D As I have already shifted to DP4, and If i get it again I will share it right away....Cheers....

Top
  • Login or register to post comments
Mon, 04/02/2012 - 23:03
ingenthr
Offline
Joined: 03/16/2010
Groups:

No problem. I'm always happier if we've gotten to the issue and fixed it before looking at your issue report.

Please do let us know if it reoccurs.

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