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

Append operations on non-existent keys don't increment cmd_set statistic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.5.0
    • 5.1.1, 5.5.0
    • memcached
    • None
    • Untriaged
    • Unknown

    Description

      As a result of MB-28850, append operations did not increment the cmd_set statistic.

      It seems the fix for this issue is incomplete as it will only increment the cmd_set statistic if the append is successful (due to the statistic being incremented in the 'success' state of the state machine).
      This means that if the key does not exist, the statistic will not be incremented.

      This is not a major issue, but it is inconsistent behavior compared to all of the other operations which will still increment their relevant statistics even if the key doesn't exist (e.g. GET, ADD).

      Attachments

        Issue Links

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

          Activity

            People

              trond Trond Norbye
              matt.carabine Matt Carabine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty