Bug 1073334 - SingleFileStore.FileEntry.compareTo is wrong
Summary: SingleFileStore.FileEntry.compareTo is wrong
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: CR1
: 6.2.1
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-06 08:38 UTC by Martin Gencur
Modified: 2022-03-03 21:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The implementation of FileEntry.compareTo() is incorrect in that it never returns 0. As a result, entries are not properly removed from the list of removed/expired entries which is held by the SingleFileStore. Such entries are supposed to be re-used and their space on file system used for newly created entries. Due to this bug, newly created entries are always appended at the end of the file, not freeing up the space occupied by entries removed/expired earlier.
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-4035 0 Critical Resolved SingleFileStore.FileEntry.compareTo is wrong 2014-05-27 00:14:07 UTC

Description Martin Gencur 2014-03-06 08:38:46 UTC
See description in the linked JIRA.

Comment 2 Adrian Nistor 2014-03-06 16:10:08 UTC
I integrated this in jdg-6.2.x branch. Please update the status of this issue accordingly (bugzilla does not allow me to do it).


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