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

DI provider caches bad bootstrap results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3.2
    • 3.3.1
    • library
    • None
    • 1

    Description

      Currently, the implementation of BucketProvider caches Task from the call to Cluster.BucketAsync results for performance. However, this means that if the call fails to bootstrap the erroneous result is returned for the rest of the lifetime of the DI container. We shouldn't cache error results and should retry the call to BucketAsync.

      https://forums.couchbase.com/t/how-to-force-a-retry-of-bucketprovider-getbucketasync-without-using-the-cached-bucket-not-found-value-using-dependencyinjection/33594

      Attachments

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

        Activity

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            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