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

dynamic snitch only worked for NetworkTopology due to RemoteNode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • None
    • redhat linux. we dug into the code though and it appears to be the way it is coded. we were told to file a ticket for this on the email list.

    • Normal

    Description

      We dug into cassandra code and found out SimpleSnitch was not working with DynamicSnitch. Specifically, the code turns a slow node into a remote node and network topology works with that. We also had to move to LOCAL_QUOROM and finally we have dynamic snitch working. To test this, we basically told the NIC using the "tc" command to slow every packet down by 500ms on node 2 (out of 4 nodes). We finally have a blazingly fast client with node 2 slowed down. If we do QUOROM, the issue comes back and the client is slow again. Same with SimpleSnitch. To reproduce, run a 4 node cluster and use "tc" to give every packet a slowdown of 500ms.

      Attachments

        Activity

          People

            Unassigned Unassigned
            deanhiller Dean Hiller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: