Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1569

Cannot do binary increment/decrement without initial value

    XMLWordPrintable

Details

    • 0

    Description

      Relevant failing FIT tests:

      • BinaryTest.decrementThrowsDocumentNotFoundWhenInitialValueNotSupplied
      • BinaryTest.incrementThrowsDocumentNotFoundWhenInitialValueNotSupplied

      If the initial value is not set in the options, we set it to 0. It doesn't appear to be possible for the user to provide an input that gets mapped to unset in the core request's initial_value field (which is std::optional).

      Attachments

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              Dimitris.Christodoulou Dimitris Christodoulou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty