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

pillowfight does not set subdoc specs when using --subdoc switch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3.6
    • None
    • None
    • None
    • 0

    Description

      Looks like since this patch https://review.couchbase.org/c/libcouchbase/+/104322/43/tools/cbc-pillowfight.cc#809 subdoc support in pillowfight has been broken - It looks like scheduleNextOperation() is missing a:

      lcb_cmdsubdoc_specs(sdcmd, specs);
      

      So using --subdoc --json leads to a lot of:

      Failed to schedule operation: LCB_ERR_NO_COMMANDS (1047): No commands specified
      Failed to schedule operation: LCB_ERR_NO_COMMANDS (1047): No commands specified
      Failed to schedule operation: LCB_ERR_NO_COMMANDS (1047): No commands specified
      Failed to schedule operation: LCB_ERR_NO_COMMANDS (1047): No commands specified
      Failed to schedule operation: LCB_ERR_NO_COMMANDS (1047): No commands specified
      

      And no subdoc operations occurring according to KV stats.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            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