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

ensure ClusterInfo is always reachable by retrieving it via ClusterManager

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.0.2
    • 2.0.0
    • None
    • None

    Description

      For now, ClusterInfo can be obtained via Cluster.Info(). This is problematic since underneath it uses the ConfigurationProvider to obtain the data, and only HttpStreamingProvider actually retrieves it.
      So if CarrierPublicationProvider is used, cluster info is in effect unavailable.
      Furthermore, this path is used because the REST endpoint that provides the configuration is password-protected.

      The only sureproof way of getting cluster info, without dependency to the configuration provider used, is probably to put the API at the ClusterManager's level (since accessing the manager requires the user to authenticate). There's already an ClusterInfo method here returning IResult<Pools>, that should be replaced with IResult<ClusterInfo>.

      Attachments

        Issue Links

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

          Activity

            People

              jmorris Jeff Morris
              simonbasle Simon Baslé (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty