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

Avoid per-host hinted-handoff throttle being rounded to 0 in large cluster

    XMLWordPrintableJSON

Details

    Description

      When "hinted_handoff_throttle_in_kb" is sufficiently small or num of nodes in the cluster is sufficiently large, the per-host throttle will be rounded to 0, aka. unthrottled.

       

      HintsDispatchExecutor.java
      int throttleInKB = DatabaseDescriptor.getHintedHandoffThrottleInKB() / nodesCount;
      this.rateLimiter = RateLimiter.create(throttleInKB == 0 ? Double.MAX_VALUE : throttleInKB * 1024);
      

      trunk-patch

      Attachments

        Issue Links

          Activity

            People

              jasonstack Zhao Yang
              jasonstack Zhao Yang
              Zhao Yang
              Brandon Williams, Robert Stupp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: