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

in-jvm dtest support for subnets doesn't change seed provider subnet

    XMLWordPrintableJSON

Details

    • Correctness - Test Failure
    • Normal
    • Low Hanging Fruit
    • Unit Test
    • All
    • None
    • Hide

      To test, back-ported the GossipSettlesTest and made it use a non-zero subnet, which will fail if the patch is not applied. See GitHub PRs for patch details.

      Show
      To test, back-ported the GossipSettlesTest and made it use a non-zero subnet, which will fail if the patch is not applied. See GitHub PRs for patch details.

    Description

      When using the `withSubnet` function on AbstractCluster.Builder, the newly-selected subnet is never used when setting up the SeedProvider in the constructor of InstanceConfig, which is hard-coded to 127.0.0.1. Because of this, clusters with any subnet other than 0, and gossip enabled, cannot start up as they have no seed provider in their subnet and what should be the seed (instance 1) doesn't think it is the seed.

      Attachments

        Activity

          People

            drohrer Doug Rohrer
            drohrer Doug Rohrer
            Doug Rohrer
            David Capwell, Yifan Cai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h