Cassandra
  1. Cassandra
  2. CASSANDRA-6481

Batchlog endpoint candidates should be picked randomly, not sorted by proximity

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.2.13, 2.0.4
    • Component/s: None
    • Labels:
      None

      Description

      Batchlog endpoint candidates should be picked randomly, not sorted by proximity. I'll be lazy and just copy-paste some lines from IRC:

      [20:23:27] rbranson: is there an issue where batch logs tend to get written to a subset of the nodes?
      [20:28:04] rbranson: I mean all the write batches are going thru 10% of the nodes
      [20:28:16] rbranson: it means writes won't scale linearly w/the cluster size

      Attaching a trivial patch.

      1. 6481.txt
        0.7 kB
        Aleksey Yeschenko

        Activity

          People

          • Assignee:
            Aleksey Yeschenko
            Reporter:
            Aleksey Yeschenko
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development