cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Branimir Lambov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8268) Token serialization should not assume all tokens are created by the database partitioner
Date Thu, 29 Jan 2015 15:55:35 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Branimir Lambov updated CASSANDRA-8268:
---------------------------------------
    Attachment: 8268-v2.patch

Done, using assert in validatePartitioner. Let me know if you prefer to also throw the error
with assertions disabled.

> Token serialization should not assume all tokens are created by the database partitioner
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8268
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: 8268-v2.patch, 8268.patch
>
>
> This is also a hidden reference to StorageService.getPartitioner within Token, but this
needs to be handled more carefully as we need to check whether tokens serialized with the
wrong partitioner could be present in user data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message