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

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

            People

              hemant.rajput Hemant Rajput
              sai.teja Sai Krishna Teja
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty