Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1073334

Summary: SingleFileStore.FileEntry.compareTo is wrong
Product: [JBoss] JBoss Data Grid 6 Reporter: Martin Gencur <mgencur>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jdg-bugs, ttarrant, vjuranek
Target Milestone: CR1   
Target Release: 6.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:35:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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).

Comment 4 Red Hat Bugzilla 2025-02-10 03:35:17 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.