Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      There are two primary issues which occur during server configuration changes (i.e. failover, rebalance):

      1)
      [SDKD(WARNING) 56.55 cbsdk.sdkd.remote remote.py:266] sdkd_lcb: src/event.c:211: parse_single: Assertion `(lcb_size_t)idx < c->instance->nservers' failed.

      2)
      The client may just hang.

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

        Activity

        Hide
        trond Trond Norbye added a comment -

        There is no masters.. and in theory all of them may update the configuration at the same time.

        Show
        trond Trond Norbye added a comment - There is no masters.. and in theory all of them may update the configuration at the same time.
        Hide
        trond Trond Norbye added a comment -

        is there a reproducible test case one may run for this?? I had a php script looping in a while (true) mode creating a new cached config while I added, removed, failed over etc nodes and I was not able to reproduce the problem..

        Show
        trond Trond Norbye added a comment - is there a reproducible test case one may run for this?? I had a php script looping in a while (true) mode creating a new cached config while I added, removed, failed over etc nodes and I was not able to reproduce the problem..
        Hide
        mnunberg Mark Nunberg added a comment -

        So I've found the underlying cause of the issue. The buffers are being relocated from underneath us while lcb_refresh_config_cache is called. This causes subsequent assertions to fail. Investigating this further now.

        Show
        mnunberg Mark Nunberg added a comment - So I've found the underlying cause of the issue. The buffers are being relocated from underneath us while lcb_refresh_config_cache is called. This causes subsequent assertions to fail. Investigating this further now.
        Hide
        mnunberg Mark Nunberg added a comment -

        I'll split these into several issues (as they are really several issues)

        Show
        mnunberg Mark Nunberg added a comment - I'll split these into several issues (as they are really several issues)
        Hide
        trond Trond Norbye added a comment -

        The last comment says it should be split into multiple tasks.. marking this as done

        Show
        trond Trond Norbye added a comment - The last comment says it should be split into multiple tasks.. marking this as done

          People

          • Assignee:
            trond Trond Norbye
            Reporter:
            mnunberg Mark Nunberg
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes