Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18169

Refactor error codes for counter operations

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • memcached
    • Security Level: Public

    Description

      Currently counter error codes are:

      // for non-numeric delta
      DELTA_BADNUMBER
      // for zero delta
      DELTA_ZERO
      //  for delta that is too big or a combination too big
      DELTA_TOOBIG
      // existing number is too big to be parsed
      NUMBER_TOOBIG
      

      These should be replaced with:

      // Delta is 0, too big, or not a number
      DELTA_EINVAL
      // Combination would result in overflow
      DELTA_OVERFLOW
      // Number is too big
      NUMBER_TOOBIG
      

      Attachments

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

        Activity

          People

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