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

            sai.teja Sai Krishna Teja created issue -
            sai.teja Sai Krishna Teja made changes -
            Field Original Value New Value
            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.
            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.

            sai.teja Sai Krishna Teja made changes -
            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.

            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.

            sai.teja Sai Krishna Teja made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            sai.teja Sai Krishna Teja made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Assignee Sai Krishna Teja [ JIRAUSER25045 ] Girish Benakappa [ girish.benakappa ]
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Assignee Girish Benakappa [ girish.benakappa ] Hemant Rajput [ hemant.rajput ]
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Labels needs_automation
            hemant.rajput Hemant Rajput made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            sai.teja Sai Krishna Teja made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            sai.teja Sai Krishna Teja made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            hemant.rajput Hemant Rajput made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            amit.kulkarni Amit Kulkarni made changes -
            Link This issue is cloned by MB-52000 [ MB-52000 ]
            wayne Wayne Siu made changes -
            Link This issue backports to MB-52000 [ MB-52000 ]
            wayne Wayne Siu made changes -
            Link This issue is cloned by MB-52000 [ MB-52000 ]

            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