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
    • Resolution: Fixed
    • Major
    • 2.5.3
    • 2.5.0
    • 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

        For Gerrit Dashboard: NCBC-1556
        # 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