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

Upgrades can fail due to the 200 character limit for DCP connections

    XMLWordPrintable

Details

    • Triaged
    • 1
    • Yes
    • KV March-22

    Description

      With the restriction of 200 char limit it is possible that upgrading a pre 6.6.5 cluster will fail where previously it would have passed.

      The reason is that with a key length > 250 in a mcbp response can result in a disconnect and hence a rebalance failure. However it is possible to have a dcp connection name length > 200 without triggering the key length > 250 response issue.

      See customer CBSE linked as an example case.

      The fix is to remove the restriction by reverting the associated patch https://review.couchbase.org/c/kv_engine/+/114481

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.1.0-2505 contains kv_engine commit cc160cb with commit message:
            MB-51513: Revert "MB-34280: Set max DCP name to 200 characters"

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-2505 contains kv_engine commit cc160cb with commit message: MB-51513 : Revert " MB-34280 : Set max DCP name to 200 characters"

            Build couchbase-server-7.2.0-1024 contains kv_engine commit ac0da7c with commit message:
            MB-51513: Merge branch 'couchbase/cheshire-cat' into 'couchbase/neo'

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1024 contains kv_engine commit ac0da7c with commit message: MB-51513 : Merge branch 'couchbase/cheshire-cat' into 'couchbase/neo'

            Build couchbase-server-7.2.0-1024 contains kv_engine commit cc160cb with commit message:
            MB-51513: Revert "MB-34280: Set max DCP name to 200 characters"

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1024 contains kv_engine commit cc160cb with commit message: MB-51513 : Revert " MB-34280 : Set max DCP name to 200 characters"

            Build couchbase-server-7.2.0-1024 contains kv_engine commit 5cbcd28 with commit message:
            MB-51513: Merge 'couchbase/cheshire-cat' into 'couchbase/neo'

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1024 contains kv_engine commit 5cbcd28 with commit message: MB-51513 : Merge 'couchbase/cheshire-cat' into 'couchbase/neo'

            online upgrade successfully passed 

            6.6.0 to 7.1.0-2517
            6.6.5 to 7.1.0-2517
            7.0.4   to 7.1.0-2517

            Tested with bucket name length 100

            anitha.kuberan Anitha Kuberan added a comment - online upgrade successfully passed  6.6.0 to 7.1.0-2517 6.6.5 to 7.1.0-2517 7.0.4   to 7.1.0-2517 Tested with bucket name length 100

            People

              anitha.kuberan Anitha Kuberan
              owend Daniel Owen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  PagerDuty