Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test couchbase v3 client exists command doesn't work #65

Open
semistone opened this issue Nov 19, 2020 · 0 comments
Open

Test couchbase v3 client exists command doesn't work #65

semistone opened this issue Nov 19, 2020 · 0 comments

Comments

@semistone
Copy link

When I test
bucket.defaultCollection().exists(id);
in couchbase v3 API,
It will return UNKNOWN command error

GetMetaRequest failed with unexpected status code UNKNOWN
com.couchbase.client.core.error.CouchbaseException: GetMetaRequest failed with unexpected status code UNKNOWN {"completed":true,"coreId":"0x79feb7be00000001","idempotent":true,"lastChannelId":"79FEB7BE00000001/000000003CB70CF2","lastDispatchedFrom":"127.0.0.1:55345","lastDispatchedTo":"localhost:55340","requestId":10,"requestType":"GetMetaRequest","retried":0,"service":{"bucket":"inventory","collection":"_default","documentId":"test","opaque":"0x12","scope":"_default","type":"kv"},"status":"UNKNOWN","timeoutMs":2500,"timings":{"dispatchMicros":1965,"totalMicros":9548,"serverMicros":0}}

and I compare with client v2, it used the OBSERVE command before
but in v3, it uses the EXISTS command

Is it possible to provide a client v3 example also?

Thanks

@semistone semistone changed the title Test couchbase v3 exist doesn't work Test couchbase v3 exists command doesn't work Nov 19, 2020
@semistone semistone changed the title Test couchbase v3 exists command doesn't work Test couchbase v3 client exists command doesn't work Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant