Bug 1028023

Summary: Buffer defrag not working
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Van Halbert <vhalbert>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, fnguyen, vhalbert, wgibson
Target Milestone: ER4   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The buffer defrag task is not working as expected because the header values are written by an object output stream, not as standalone values into the block data.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-10 19:56:16 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:

Comment 1 JBoss JIRA Server 2013-11-07 18:15:14 UTC
Steven Hawkins <shawkins> made a comment on jira TEIID-2714

added org.teiid.compactBufferFiles system property to the admin guide to keep more compact buffer file, defaults to false.  This could be tweaked further as the defrag/truncate cycle is initiated after 2^14 block removals.  Given that a typical allocation is around 64k this should reclaim space after a turn over of several hundred megs to a gig (note that we'll be somewhat compact already since we assign blocks from the start of the files).

Comment 2 belong 2013-12-10 00:51:58 UTC
Assuming this will be set to VERIFIED before GA - setting requires_doc_text- accordingly.

Comment 3 wgibson 2014-02-11 17:51:12 UTC
Covered by unit tests:  TestBufferFrontedFileStoreCache.java, TestFileStorageManager.java, and TestEnginePerformance.java.

Comment 4 JBoss JIRA Server 2014-04-21 11:25:29 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2714 to Closed