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

Improve exception when bootstrapping fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0.0-beta.2
    • library
    • None
    • 1

    Description

      Note: this is failure scenario; the node configured to bootstrap against has been failed over from the cluster. The proper behavior is to detect that SelectBucket failed and then raise the appropriate error message so that the developer can easily diagnose and fix the issue by changing the bootstrap node URI to be an active node.

      at Couchbase.Core.Sharding.VBucketKeyMapper..ctor(BucketConfig config) in C:\Users\Jeff Morris\source\couchbase-net-client\src\Couchbase\Core\Sharding\VBucketKeyMapper.cs:line 26
      at Couchbase.CouchbaseBucket.<BootstrapAsync>d__15.MoveNext() in C:\Users\Jeff Morris\source\couchbase-net-client\src\Couchbase\CouchbaseBucket.cs:line 188
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      at Couchbase.Core.ClusterContext.<BootstrapBucketAsync>d__43.MoveNext() in C:\Users\Jeff Morris\source\couchbase-net-client\src\Couchbase\Core\ClusterContext.cs:line 301

      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