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

Fix unit tests in CouchbaseRequestExecutorTests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.5.3
    • None
    • library
    • None

    Description

      There appears to be a regression where a KeyNotFoundException is thrown when the SDK tries to lookup the primary node for a key. The exception is thrown here: https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/Core/VBucket.cs#L46

      The exception is caught, but the non-primary node is then selected as the server the key is mapped to the non-primary. Note this appears to be introduced after 2.5.2 and eyeballing the value used to lookup in the primary in the dictionary - it appears to be the same.

      Attachments

        For Gerrit Dashboard: NCBC-1603
        # Subject Branch Project Status CR V

        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