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

DynamicSnitch.applyConfigChanges can corrupt snitch state

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 3.0.x, 3.11.x, 4.x
    • Component/s: Local/Other
    • Labels:
      None
    • Bug Category:
      Availability - Process Crash
    • Severity:
      Low
    • Complexity:
      Low Hanging Fruit
    • Discovered By:
      Code Inspection
    • Platform:
      All
    • Impacts:
      None

      Description

      This method is not synchronised, and doesn’t wait for the cancelled task to complete (which could already be running), so we could have two updates in flight simultaneously and corrupt the internal state of the collection

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                benedict Benedict Elliott Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: