Bug 996877 - Entries are passivated with wrong ID in DB
Summary: Entries are passivated with wrong ID in DB
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR4
: 6.2.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-14 08:31 UTC by Vitalii Chepeliuk
Modified: 2018-02-08 00:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3405 0 Major Resolved Entries are passivated with wrong ID in DB 2013-10-15 09:08:22 UTC

Description Vitalii Chepeliuk 2013-08-14 08:31:46 UTC
See description here: https://issues.jboss.org/browse/ISPN-3405

Comment 2 JBoss JIRA Server 2013-08-14 09:18:46 UTC
Martin Gencur <mgencur> made a comment on jira ISPN-3405

To summarize this, the getLockFromKey() method uses internally just hashCode invoked on the object passed as a parameter. While this was OK in ISPN 5.2 (ByteArrayKey was passed when the key was byte[]), now it's a problem because byte array is passed directly and so the hashCode method generates wrong hash. This IMO results in many entries stored in the same bucket which is, at minimum, a serious performance issue.

Comment 3 JBoss JIRA Server 2013-08-14 16:22:56 UTC
Galder Zamarreño <galder.zamarreno> updated the status of jira ISPN-3405 to Coding In Progress

Comment 4 Martin Gencur 2013-09-18 11:17:27 UTC
Verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=997365. The fix should be available in ER1

Comment 5 Jakub Markos 2013-09-30 13:19:11 UTC
I'm encountering this in 6.2.0.ER1, too.

Comment 6 Jakub Markos 2013-09-30 14:39:59 UTC
False alarm, our tests were outdated, sorry.


Note You need to log in before you can comment on or make changes to this bug.