Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-531

Document the behaviour of Arithmetic/Counter operations max/min values

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.4.4
    • None
    • docs
    • Security Level: Public
    • None

    Description

      http://docs.couchbase.com/sdk-api/couchbase-c-client-2.4.0/group___l_c_b___a_r_i_t_h.html

      The following should be documented in the API reference. In libcouchbase the values that are incremented and decremented are unsigned 64bit int values. So valid values are integers from 0 to 18,446,744,073,709,551,615 If you have the maximum value 18,446,744,073,709,551,615 and increment it by 100 it will wrap to 0 and keep incrementing, this will set the value to 99. If the value is 0 and you decrement the value by 1 it will stay at 0, it does not wrap.

      Attachments

        For Gerrit Dashboard: CCBC-531
        # Subject Branch Project Status CR V

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty