Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-213

IllegalArgumentException when calling vBucket-related methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      Getting an "TODO: Implement this" when calling CouchbaseConnectionFactory.getVbucketConfig().getVbucketsCount() and the bucket is a memcached bucket.

      While the failure is understandable, the exception thrown should be different.

      I'm not sure if this has always been the behavior or it was introduced into the 1.1.x version.

      the file from which the exception is thrown;

      src/main/java/com/couchbase/client/vbucket/config/CacheConfig.java

      Looking at the commit log on that file, it seems to be some older "configuration" class - and doesn't seem to have changed significantly since.

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

        Activity

        mnunberg Mark Nunberg created issue -
        mnunberg Mark Nunberg made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Hide
        daschl Michael Nitschinger added a comment -

        I'll change it into a UnsupportedOperationException with an appropriate message.

        Show
        daschl Michael Nitschinger added a comment - I'll change it into a UnsupportedOperationException with an appropriate message.
        daschl Michael Nitschinger made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1.1 [ 10430 ]
        Resolution Fixed [ 1 ]
        ingenthr Matt Ingenthron made changes -
        Workflow jira [ 23690 ] Couchbase SDK Workflow [ 38495 ]

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            mnunberg Mark Nunberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes