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

Dynamic endpoint snitch

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.6.5
    • None
    • None

    Description

      An endpoint snitch that automatically and dynamically infers "distance" to other machines without having to explicitly configure rack and datacenter positions solves two problems:

      The killer feature here is adapting to things like compaction or a failing-but-not-yet-dead disk. This is important, since when we are doing reads we pick the "closest" replica for actually reading data from (and only read md5s from other replicas). This means that if the closest replica by network topology is temporarily slow due to compaction (for instance), we'll have to block for its reply even if we get the other replies much much faster.

      Not having to manually re-sync your configuration with your network topology when changes (adding machines) are made is a nice bonus.

      Attachments

        1. 981.txt
          27 kB
          Brandon Williams
        2. 981-0.6.txt
          26 kB
          Brandon Williams
        3. 981-fix.txt
          3 kB
          Jonathan Ellis
        4. 981-fix-v2.txt
          4 kB
          Jonathan Ellis

        Activity

          People

            brandon.williams Brandon Williams
            jbellis Jonathan Ellis
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: