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

Connection to memcached buckets fail due to lack of CouchServers support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.1-dp4
    • 1.1-dp3
    • Core
    • Security Level: Public
    • None

    Description

      java.lang.UnsupportedOperationException: No couch port for cache buckets
      at com.couchbase.client.vbucket.config.CacheConfig.getCouchServers(CacheConfig.java:152)
      at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:232)
      at com.couchbase.cbc.App.main(App.java:75)

      Perhaps there's some convoluted way to make it work by creating five thousand factories, but this can be a simple check in the ctor:

      if (getVBucketConfig().getConfigType() == ConfigType.COUCHBASE)

      { ... }

      else

      { /* maybe warn here */ }

      And then of course making sure any view execution methods return appropriate error messages.

      Attachments

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

        Activity

          People

            daschl Michael Nitschinger
            mnunberg Mark Nunberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty