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

Increment causing VBucketBelongsToAnotherServer exception to bubble up instead of retrying

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.1
    • None
    • None
    • None
    • 1

    Description

      Seems a regression of NCBC-808.

      To reproduce:
      1- Set up a 3 node cluster with KV service on all.
      2- Remove one node and start rebalance.
      3- Immediately run the following code:

      while(true)
      {
          var result = bucket.Increment(Guid.NewGuid().ToString());
          if (result.Status == Couchbase.IO.ResponseStatus.VBucketBelongsToAnotherServer)
          {
              Console.WriteLine("dd");
          }
      }
      

      You will see that VBucketBelongsToAnotherServer bubbles up.

      Attachments

        Issue Links

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

          Activity

            People

              mike.goldsmith Michael Goldsmith
              david.saadeh David Saadeh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty