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

Upsert Doesn't Throw ObjectDisposedException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • None
    • 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

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

        Activity

          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

          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

            jmorris Jeff Morris
            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