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

PopulateCID caches Exceptions forever

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.4.1
    • 3.3.6, 3.4.0
    • None
    • None
    • 0
    • SDK45, SDK49

    Description

      In an attempt to avoid racing multiple GetCid calls, CouchbaseCollection.PopulateCidAsync uses Lazy<Task<uint?>> to lazily-execute and cache the result.

      However, if that GetCidAsync call throws an exception (such as a TimeoutException), then the next time that Lazy<Task> is awaited, it throws the same exception again.

      Attachments

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

        Activity

          People

            richard.ponton Richard Ponton
            richard.ponton Richard Ponton
            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