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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Neo, 7.0.2
    • Neo
    • secondary-index
    • None
    • 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

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

        Activity

          There are no comments yet on this issue.

          People

            sai.teja Sai Krishna Teja
            sai.teja Sai Krishna Teja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty