Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
java-client-3.2.2
Server 7.1.0-2123-enterprise
-
1
Description
Steps:
- Couchbase cluster
- Create memcached bucket
- Try creating scope/collection using Java client.
Eg: bucket.collections().createScope("scope")
Result on java-client-3.2.2
com.couchbase.client.core.error.HttpStatusCodeException: Unexpected HTTP status 400 Bad Request {"completed":true,"coreId":"0xc272083a00000001","httpStatus":400,"idempotent":false,"lastDispatchedFrom":"172.23.106.205:55352","lastDispatchedTo":"172.23.105.155:8091","requestId":258,"requestType":"CoreHttpRequest","retried":0,"service":{"method":"POST","path":"/pools/default/buckets/JbqG30IYIDANSin%25kCRpC6Nps31Ir23JcWaEUjrozjthTcUVRbKOx-20-888000/scopes","type":"mgmt"},"timeoutMs":75000,"timings":{"dispatchMicros":6386,"totalDispatchMicros":6386,"totalMicros":17272}}
|
Note:
The same scenario works as expected with java-client-3.1.5
com.couchbase.client.core.error.CouchbaseException: Unknown error in CollectionManager: Not allowed on this type of bucket, response: GenericManagerResponse{status=INVALID_ARGS, httpStatus=400, content=Not allowed on this type of bucket}
|
QE test(TAF):
bucket_collections.basic_ops.BasicOps:
|
test_with_memcached_bucket,bucket_type=memcached,nodes_init=2,num_items=0
|
Attachments
For Gerrit Dashboard: JVMCBC-1058 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
169325,3 | JVMCBC-1058: Throw FeatureNotAvailableException for collections with memcached buckets. | master | couchbase-jvm-clients | Status: MERGED | +2 | +1 |