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

Compression problems with Go SDK and Sync Gateway

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • None
    • library
    • 1

    Description

      Client uses Go REST application, the data is saved in bucket. Sync gateway 2.1 is used with shared bucked access. While N1QL queries are working using gocb.v1, direct fetch using key was cousing timeout problems. Gocb verbose log showed following message:
              - GOCB 08:21:02.327293 memdclient.go:207: Failed to decompress value from the server for key 'alarm:0765d033-75dc-4acb-bf1d-ddb479a7ef7e'.
       

      There is a workaround for this issue: in memdclient.go (in gocbcore.v7) line 202/203 compression should be deactivated. It seems that using shared bucked access compression is deactivated, but datatype flags is still setting it.

       

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            bruno.simic Bruno Šimić (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty