[ https://issues.apache.org/jira/browse/CASSANDRA-20351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928365#comment-17928365 ]
Szymon Miezal commented on CASSANDRA-20351: ------------------------------------------- I am going to prepare a patch that makes sure the buffers are aligned. > Reading mmapped trie-index exceeding 2GiB results in IndexOutOfBoundsException > ------------------------------------------------------------------------------ > > Key: CASSANDRA-20351 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20351 > Project: Apache Cassandra > Issue Type: Bug > Components: Local/SSTable > Reporter: Szymon Miezal > Assignee: Szymon Miezal > Priority: Normal > > {color:#1f2328}Memory-mapping is done in buffers of size less than > 2GiB.{color} > {color:#1f2328}When these buffers aren't aligned to 4KiB and the trie-index > file {color}{color:#1f2328}spans many buffers then reading it results in > going out of buffer bounds.{color} > To fix it we need to {color:#1f2328}make sure that the buffers are correctly > aligned.{color} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org