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

[Backport MB-49879 to 7.0.4] Alter Index failure when nodes have un encrypted ports in encryption mode all

    XMLWordPrintable

Details

    • Triaged
    • 1
    • Unknown

    Description

      ALTER INDEX `travel-sample`.country_idx
      WITH

      {"action": "replica_count", "num_replica": 2, "nodes": ["127.0.0.1:9001", "127.0.0.1:9002", "127.0.0.1:9003"]}

      Will fail when encryption is enabled.

      The issues was introduced where we started supporting the use of encrypted ports from the query. We were only using un encrypted port numbers always.
      The design is to support

      • only un encrypted port numbers when encryption was disabled
      • both un-encrypted and encrypted port numbers when encryption was set to all
      • only encrypted port numbers when encryption was strict

      But after the change only encrypted ports are working in encryption mode all which breaks backwards compatibility.

      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.0.4-7273 contains indexing commit cd8522a with commit message:
            MB-52000 : [BP to 7.0.4 of MB 49879] Allow non secure ports in Alter Index in Encryption mode all

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.4-7273 contains indexing commit cd8522a with commit message: MB-52000 : [BP to 7.0.4 of MB 49879] Allow non secure ports in Alter Index in Encryption mode all
            pavan.pb Pavan PB added a comment -

            Verified with 7.0.4-7273.

            Tests performed:
            Create index with 8091 and then use alter to change the port to 18091 (using replica_count keyword).
            Create index with 18091 and then use alter index to change the port to 8091 (using replica_count keyword).

            The detailed steps are listed over here - > https://issues.couchbase.com/browse/MB-49879?focusedCommentId=580700&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-580700

            pavan.pb Pavan PB added a comment - Verified with 7.0.4-7273. Tests performed: Create index with 8091 and then use alter to change the port to 18091 (using replica_count keyword). Create index with 18091 and then use alter index to change the port to 8091 (using replica_count keyword). The detailed steps are listed over here - > https://issues.couchbase.com/browse/MB-49879?focusedCommentId=580700&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-580700

            People

              pavan.pb Pavan PB
              amit.kulkarni Amit Kulkarni
              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