Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16718

Changing listen_address with prefer_local may lead to issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 3.11.x, 4.0.x
    • Component/s: Local/Config
    • Labels:
      None
    • Bug Category:
      Availability
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      User Report
    • Platform:
      All
    • Impacts:
      None
    • Test and Documentation Plan:
      Hide

      test included

      Show
      test included

      Description

      Many container based solution function by assigning new listen_addresses when nodes are stopped. Changing the listen_address is usually as simple as turning off the node and changing the yaml file. 

      However, if prefer_local is enabled, I observed that nodes were unable to join the cluster and fail with 'Unable to gossip with any seeds'.

      Trace shows that the changing node will try to communicate with the existing node but the response is never received. I assume it is because the existing node attempts to communicate with the local address during the shadow round.

       

        Attachments

          Activity

            People

            • Assignee:
              brandon.williams Brandon Williams
              Reporter:
              Jan Karlsson Jan Karlsson
              Authors:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: