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

Fix inconsistencies in cassandra-stress load balancing policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.10
    • Legacy/Tools
    • None
    • Low

    Description

      The default load balancing policy in cassandra-stress is null, which means that the driver will currently wrap DCAwareRoundRobinPolicy with TokenAwarePolicy.

      However, when a white list of nodes or a data center are specified in the command line options, then either WhiteListPolicy or DCAwareRoundRobinPolicy are used respectively, without wrapping them in a TokenAwarePolicy.

      This means that in the default case token aware routing is applied, but in some cases it is not. Token aware routing could give a performance boost of up to 2.5 times on bare metal, making comparisons of workloads problematic, if it is applied inconsistently.

      Attachments

        Activity

          People

            stefania Stefania Alborghetti
            stefania Stefania Alborghetti
            Stefania Alborghetti
            T Jake Luciani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: