Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2090

Refactor node/URI selection from randomized to round robin

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • .backlog
    • 3.0.0-alpha5
    • library
    • None
    • 1

    Description

      Currently each service contains code to randomly use a node from the global nodes list for all services which are global; for example:

      https://github.com/couchbase/couchbase-net-client/blob/master/src/Couchbase/Services/Query/QueryClient.cs#L112-L117

      This needs to be refactored and changed to support round robin node/URI selection and usage. Since this logic is used for nearly all "global" HTTP services, the solution should probably be done in a way to reduce code duplication an enhance reusability and testability.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty