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

Improve error message when bootstrapping fails for Memcached buckets

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.3
    • None
    • None

    Description

      If bootstrapping fails for a Memcached bucket, the client will throw an aggregate exception with the following exceptions:

      OneTimeSetUp: System.AggregateException : Could not bootstrap - check inner exceptions for details.
        ----> Couchbase.Configuration.ConfigException :  is this a Memcached bucket?
        ----> Couchbase.Configuration.CouchbaseBootstrapException : After bootstrapping the nodes list has zero elements indicating that client failed during bootstrapping. Please check the client logs for more information as for why it failed.
        Exception doesn't have a stacktrace
      

      The message is misleading and results in confusion. This ticket to provide a better error response when bootstrapping fails (for example an auth failure) so that it's easier to diagnose and resolve the issue.

      Attachments

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

        Activity

          There are no comments yet on this issue.

          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