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

Hinted Handoff CF contention

    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

      Hinted handoff causes a lot of contention on the HH CF, causing insert speed to massively drop. Most of the row mutation stage threads end up blocking on each other at Memtable.resolve. This is because HH sends the hint to the closest node, which will always be the node handling the write.

      To reproduce: start a cluster with even InitialTokens, and begin a constant stream of writes to one node, with an even key distribution. (I used 4 nodes and stress.py in random mode.) Take a node down, and the insert rate begin to drop, eventually settling between 100-300/s and sustaining there. Bringing the down node back up will restore the original insert rate.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: