Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-1676

XDCR with Operator hits error when specifying CompressionType=Snappy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.1.0
    • None
    • kubernetes, operator
    • None
    • 39: Bk Vol. Bugs. Ptwx.
    • 1

    Description

      Background:

      When creating a XDCR with the compressionType in the resource yaml, the operator would show this error:

      {"level":"error","ts":1600124152.3097847,"logger":"cluster","msg":"Reconciliation failed","cluster":"default/cb-example","error":
      "[request failed POST http://cb-example-0000.cb-example.default.svc:8091/controller/createReplication 400 Bad Request: {\"errors\
      ":{\"compressionType\":\"Unable to translate user input to internal compression Type\"}}],

       

      Steps to reproduce:

      1) Create an XDCR resource:

      apiVersion: couchbase.com/v2
      kind: CouchbaseReplication
      metadata:
       name: xdcr-example-test-travel
       labels:
       cluster: cb-example
      spec:
       bucket: travel-sample
       remoteBucket: travel-sample
       compressionType: Snappy
       filterExpression: ""
       paused: false

      2) The Operator would throw the above error, specifying "Snappy" produces the same result. The option works for Auto and None, but not Snappy

      Attachments

        Issue Links

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

          Activity

            People

              simon.murray Simon Murray
              tin.tran Tin Tran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty