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

HHOM goes into infinite loop, wasting cpu

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.6
    • None
    • None
    • debian lenny amd64 OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)

    • Normal

    Description

      To replicate: take a host down, cause hints to it, wait for HHOM to kick in

      The issue is line 201 of HHOM:
      startColumn = keyColumn.name(); // repeating the last as the first is fine since we just deleted it

      That comment is false. The column may not have been deleted, since the endpoint could still be down. This causes HHOM to go into an infinite loop trying to deliver hints to a down host.

      Attachments

        1. 715.txt
          3 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            brandon.williams Brandon Williams
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: