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

Cleanup key/value cancellation token and timeout handling

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.2
    • 3.1.0
    • library
    • None
    • 1

    Description

      Currently, cancellation tokens are registered to set the IOperation to canceled in multiple spots, which is inefficient, disorganized, and causes excess heap allocations.

      Additionally, they don't current follow the RFC for Ambiguous vs Unambiguous timeouts. They also have confusing handling regarding external cancellation versus timeout cancellation.

      Proposed behavior: https://gist.github.com/brantburnett/7a562876b1d53015310ce38b69da18d7

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty