[
https://issues.apache.org/jira/browse/CASSANDRA-13869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jordan West updated CASSANDRA-13869:
------------------------------------
Attachment: 0001-Fix-AbstractTokenTreeBuilder-serializedSize-when-the.patch
attb-serialized-size-bug-test.patch
Attached two patches. attb-serialized-size-bug-test.patch is patch that can be
applied to trunk illustrate the issue with a failing test. The other is the fix
against trunk and some improved testing.
> AbstractTokenTreeBuilder#serializedSize returns wrong value when there is a
> single leaf and overflow collisions
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-13869
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13869
> Project: Cassandra
> Issue Type: Bug
> Components: sasi
> Reporter: Jordan West
> Assignee: Jordan West
> Priority: Minor
> Fix For: 3.11.x
>
> Attachments:
> 0001-Fix-AbstractTokenTreeBuilder-serializedSize-when-the.patch,
> attb-serialized-size-bug-test.patch
>
>
> In the extremely rare case where a small token tree (< 248 values) has
> overflow collisions the size returned by
> AbstractTokenTreeBuilder#serializedSize is incorrect because it fails to
> account for the overflow collisions.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]