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

Upsert Doesn't Throw ObjectDisposedException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2
    • Component/s: None
    • Labels:
      None

      Description

      Most commands against CouchbaseBucket properly throw an ObjectDisposedException if called after the object is disposed.

      However, Upsert commands do not. These commands just timeout instead. Upsert commands should be consistent with other commands in handling this invalid use case. This will make debugging issues simpler for the developer.

      Note that this doesn't seem to affect UpsertAsync, just Upsert.

        Attachments

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

          Activity

          Hide
          btburnett3 Brant Burnett added a comment -

          Jeff,

          I've got a fix for this already, just wanted to file for tracking purposes. I'll publish once I can resolve merge conflicts with other unit test work.

          Brant

          Show
          btburnett3 Brant Burnett added a comment - Jeff, I've got a fix for this already, just wanted to file for tracking purposes. I'll publish once I can resolve merge conflicts with other unit test work. Brant

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.