When Does inconsistent_state Occur?
I am getting
{"error":"error","reason":"inconsistent_state"}
Error while fetching view. Anyone knows when does this occur?
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.
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....
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.
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...