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

RangeFetchMapCalculator should not try to optimise 'trivial' ranges

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      RangeFetchMapCalculator (CASSANDRA-4650) tries to make the number of streams out of each node as even as possible.

      In a typical multi-dc ring the nodes in the dcs are setup using token + 1, creating many tiny ranges. If we only try to optimise over the number of streams, it is likely that the amount of data streamed out of each node is unbalanced.

      We should ignore those trivial ranges and only optimise the big ones, then share the tiny ones over the nodes.

        Attachments

        1. Screen Shot 2017-08-14 at 14.22.23.png
          149 kB
          Marcus Eriksson

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson
              Reviewers:
              Ariel Weisberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: