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

DecoratedKey equals() only tests Token

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.0 rc 1
    • None
    • None
    • 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

            tjake T Jake Luciani
            tjake T Jake Luciani
            T Jake Luciani
            Stu Hood
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: