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

XDCR - CCR in error scenario may print invalid error msg

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • XDCR
    • None
    • Untriaged
    • 1
    • No

    Description

      https://github.com/couchbase/goxdcr/blob/master/parts/xmem_nozzle.go#L2706-L2708

      There is a chance that the Body is snappy compressed, and the sizes may not be parsed correctly.

      Also, perhaps better to just print the Key instead of the body... since a non-hex dump of the body will show up unusable anyway... something like:

      [12 33 55 6 3 11 22 ...]
      

      Attachments

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

        Activity

          People

            lilei.chen Lilei Chen (Inactive)
            neil.huang Neil Huang
            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