[ https://issues.apache.org/jira/browse/CASSANDRA-19500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francisco Guerrero updated CASSANDRA-19500: ------------------------------------------- Summary: [Analytics] Fix XXHash32Digest calculated digest value (was: [Analytics] Fix XXHash32Digest value) > [Analytics] Fix XXHash32Digest calculated digest value > ------------------------------------------------------ > > Key: CASSANDRA-19500 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19500 > Project: Cassandra > Issue Type: Bug > Components: Analytics Library > Reporter: Francisco Guerrero > Assignee: Francisco Guerrero > Priority: Normal > Time Spent: 40m > Remaining Estimate: 0h > > When bumping the Sidecar version used in Analytics, an issue surfaced in the > Analytics implementation of XXHash32 where we cast the hash value to long, > and the negative sign is forwarded causing the incorrect hash value to be > returned. > is not masked and this causes the negative sign to be forwarded. Other > implementations (for example commons-codec) mask the hash value correctly. -- 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