Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.1, 1.1dp, 1.1.0
    • Fix Version/s: 1.1.3
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      During startup, if there is no authentication (and thus no authentication latch) we can reply with errors before we get the configuration back and settled in with the node locator. This should be more reliable.

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

        Activity

        Show
        ingenthr Matt Ingenthron added a comment - See http://www.couchbase.com/forums/thread/fast-computer-race-condition-java-client
        Hide
        ingenthr Matt Ingenthron added a comment -

        I think part of the solution on this is to poll the configuration until it transitions from warmup to healthy.

        Show
        ingenthr Matt Ingenthron added a comment - I think part of the solution on this is to poll the configuration until it transitions from warmup to healthy.
        Hide
        ingenthr Matt Ingenthron added a comment -

        The idea is that there is a section of the code that walks the URIs, finds the bucket, then after finding it sets up the stream for the configuration. When it first finds the bucket, if it's in a "warmup" state, (easy to simulate by restarting a server) it will show that it is and will not have a vbucket map. At that point, we should loop without setting up the stream or we should set up the stream and let anything handling reconfigure handle the transition from warmup to warmed up.

        Show
        ingenthr Matt Ingenthron added a comment - The idea is that there is a section of the code that walks the URIs, finds the bucket, then after finding it sets up the stream for the configuration. When it first finds the bucket, if it's in a "warmup" state, (easy to simulate by restarting a server) it will show that it is and will not have a vbucket map. At that point, we should loop without setting up the stream or we should set up the stream and let anything handling reconfigure handle the transition from warmup to warmed up.
        Show
        daschl Michael Nitschinger added a comment - http://review.couchbase.com/#/c/22933/1
        Hide
        ingenthr Matt Ingenthron added a comment -

        Still working out the flow here. Based on our current understanding, this can be deferred to 1.1.0 or even post since it's an enhancement for reliable operation in a secondary or tertiary circumstance. Should be release noted though.

        Show
        ingenthr Matt Ingenthron added a comment - Still working out the flow here. Based on our current understanding, this can be deferred to 1.1.0 or even post since it's an enhancement for reliable operation in a secondary or tertiary circumstance. Should be release noted though.
        Hide
        ingenthr Matt Ingenthron added a comment -

        Determined that the proposed approach is a good change, but better change is needed. That's tracked under JCBC-255.

        Show
        ingenthr Matt Ingenthron added a comment - Determined that the proposed approach is a good change, but better change is needed. That's tracked under JCBC-255 .

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes