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

DecoratedKey equals() only tests Token

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7.0 rc 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      I'm working on a new Partitioner for Lucandra that lets many keys share the same token.

      When I use this partitioner SliceQueryFilter class returns all rows that match key with the same Token. This isn't correct in my mind.
      Tokens should only be used to route a Key in the ring. DecoratedKey equals() hashCode() and compare() should consider Token and Key

      Thoughts?

        Attachments

        1. 1034_v1.txt
          2 kB
          Stu Hood

          Activity

            People

            • Assignee:
              tjake T Jake Luciani
              Reporter:
              tjake T Jake Luciani
              Authors:
              T Jake Luciani
              Reviewers:
              Stu Hood
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: