[teiid-issues] [JBoss JIRA] (TEIID-2714) Buffer defrag not working
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Wed Oct 30 14:13:02 EDT 2013
[ https://issues.jboss.org/browse/TEIID-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825896#comment-12825896 ]
Steven Hawkins commented on TEIID-2714:
---------------------------------------
The fix addressed several things:
1. the immediate issue that defrag was unable to read the appropriate header values for storage blocks.
2. the notion of truncation and defrag were too intertwined - an empty storage file would not be truncated as we wouldn't defrag it.
3. corrected that -1 would be returned as the compacted highest bit set when the segment is empty
4. adjusted the thresholds for defrag and sleep behavior
> Buffer defrag not working
> -------------------------
>
> Key: TEIID-2714
> URL: https://issues.jboss.org/browse/TEIID-2714
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 7.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> The defrag task is not working as expected because the header values are written by an object output stream - and not as standalone values into the block data.
> For most data usage patterns this isn't an issue as the storage files are self compacting over time due to low block assignments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list