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

Allow node to serve traffic only once compactions settle

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Local/Compaction
    • None
    • Performance
    • Normal
    • All
    • None

    Description

      Today when nodes are joined to the cluster, once data streaming is completed, node starts serving traffic, but it's possible there are a lot of pending compactions, so having reads accessing sstables during that time is going to make these reads slower and load the server. In some cases performance is so bad it can bring the application down. 

      Today I overcome this by stopping native transport to a node after join finishes, and enabling it after compactions pending reach a certain threshold, it would be nice to have that as part of the join process, only consider join completed once there are not that many compactions pending. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            gilg Gil Ganz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: