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

StorageProxy sends same message multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.8.0 beta 2
    • None
    • None
    • linux

    • Normal

    Description

      A cassandra node gets multiple mutation messages (in number of times of replication factor at maximum) for an insert. It may cause high load on the node. The mutation should be only once for each insert.

      This bug is visible via MutationStage count in nodetool tpstats.
      For instance, if you have 6 node cluster (initial keys are 31, 32, 33, 34, 35 and 36) with replication factor = 4 and a single data (for example, key='2') is inserted, MutationStage count will be as follows:

      node 1: MutationStage 0 0 4
      node 2: MutationStage 0 0 3
      node 3: MutationStage 0 0 2
      node 4: MutationStage 0 0 1
      node 5: MutationStage 0 0 0
      node 6: MutationStage 0 0 0

      As you can see, the counts are different in each node.

      Attachments

        1. StorageProxy.java.patch
          0.5 kB
          Shotaro Kamio

        Activity

          People

            Unassigned Unassigned
            skamio Shotaro Kamio
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: