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

Incorrect error message from 'vkey' when key does not exist

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0-beta-2
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      Not sure if this is the server sending back the wrong message, or the stats script malforming the commend.

      Running this command:
      /opt/couchbase/bin/cbstats localhost:11210 vkey pkrug 316
      Stats 'vkey pkrug 316' are not available from the requested engine.

      In 1.8, it would return "not found" because the request is valid, but the key is not there. In 2.0, something changed and now it doesn't actually recognize the command which leads to confusion with the error response.

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

        Activity

        perry Perry Krug created issue -
        Hide
        chiyoung Chiyoung Seo added a comment -

        Mike,

        Please take a look at this issue when you have time. It seems to me that this is the regression from our recent changes in stats key to support the OBSERVE command.

        Show
        chiyoung Chiyoung Seo added a comment - Mike, Please take a look at this issue when you have time. It seems to me that this is the regression from our recent changes in stats key to support the OBSERVE command.
        chiyoung Chiyoung Seo made changes -
        Field Original Value New Value
        Assignee Chiyoung Seo [ chiyoung ] Mike Wiederhold [ mikew ]
        Show
        mikew Mike Wiederhold added a comment - http://review.couchbase.org/#/c/21160/1
        mikew Mike Wiederhold made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-beta-refresh [ 10385 ]
        Resolution Fixed [ 1 ]
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ep-engine-2-0 #435 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/435/)
        MB-6751: Fix vkey not found in cbstats script (Revision fdecb33cb44a99f3c2b62c324042ca569cd5591d)

        Result = SUCCESS
        Mike Wiederhold :
        Files :

        • management/cbstats
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #435 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/435/ ) MB-6751 : Fix vkey not found in cbstats script (Revision fdecb33cb44a99f3c2b62c324042ca569cd5591d) Result = SUCCESS Mike Wiederhold : Files : management/cbstats
        Hide
        kzeller kzeller added a comment -

        RN: Incorrect message had been sent in response to
        a cbstats vkey command. Server had returned the string 'not found'
        for valid request. Now correct the memcached protocol
        error is returned.

        Show
        kzeller kzeller added a comment - RN: Incorrect message had been sent in response to a cbstats vkey command. Server had returned the string 'not found' for valid request. Now correct the memcached protocol error is returned.
        mikew Mike Wiederhold made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            mikew Mike Wiederhold
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes