Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1058

Throw FeatureNotAvailableException for Scopes and Collections on Memcached Buckets

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty