Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-517

gocbcore incorrectly tries to parse the collection id for 'cmdStat/0x10'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0-alpha.5
    • 2.0.0-alpha1
    • library
    • None
    • 1

    Description

      When gocbcore reads a packet using 'ReadPacket - gocbcore/memdconn.go:232' it incorrectly tries to read the collection id for the DCP command 'cmdStat/0x10'.

      Expected behaviour:
      The backup/restore tooling is using 'StatsEx - gocbcore/agentops_crud.go:1007' to get the current high/purge sequence numbers on a per vbucket basis; the expected keys in the single server stats map defined in 'gocbcore/agentops_crud.go:996' should be prefixed with 'vb_<vbucket_id>'.

      Actual behaviour:
      The keys are prefixed with 'b_<vbucket_id>' .

      Attachments

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

        Activity

          People

            james.lee James Lee
            james.lee James Lee
            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