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

cbc-incr only supports 32 bit ints

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.6.4
    • 2.6.2
    • library
    • None

    Description

      When trying to initial a counter with any value equal or over 32bit max int (4294967296) the following error is generated:

      $ cbc incr count_max --initial 18446744073709551610 --delta 1                         
      Couldn't parse options: Value too large
      Bad value '' for initial
      

      Couchbase Server supports counters up to 64bit max int and I can set that via the python SDK using libcouchbase.

      Attachments

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

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            pvarley Patrick Varley (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