Key not found (in Dart client)
I am developing an Couchbase client in Dart language. Everything seems fine. However, here I come across a case that I am not sure the reason. I need your help to provide some hints.
Following is some facts that might be useful on inferring the possible issues:
1. The key-document set() with my Dart SDK can be get() back with my Dart SDK without problem.
2. The key of the document can be seen with Couchbase Console in Documents list. However, click 'Edit Document' button show 'Error: notfound (Document does not exist)'
3. I try to get() an existing document from the beer-sample bucket with my Dart SDK but it complains "Status: 1, Key not found". I have been tracing down the get binary protocol in Socket level, the status field of the returned response header was indeed "1".
Looks like RESTFUL "View" can see the saved document but get() will not.
I am thinking if it is the vBucket Hash Algorithm issue, but this is a simple local host "single node". No matter how we hash it, it goes to the only node.
Another information you might be interested is that this Dart client follows most of the Java client's program structure.
Any one can help provide some possible reasons?