You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/06/27 14:30:52 UTC
[jira] [Closed] (OAK-3797) SegmentTracker#collectBlobReferences
should retain fewer SegmentId instances
[ https://issues.apache.org/jira/browse/OAK-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-3797.
---------------------------------
Bulk close 1.5.4
> SegmentTracker#collectBlobReferences should retain fewer SegmentId instances
> ----------------------------------------------------------------------------
>
> Key: OAK-3797
> URL: https://issues.apache.org/jira/browse/OAK-3797
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Alex Parvulescu
> Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4, datastore, gc
> Fix For: 1.5.4
>
> Attachments: OAK-3797-segmentmk-v2.patch
>
>
> {{SegmentTracker#collectBlobReferences}} currently keeps a queue of yet unprocessed {{SegmentId}} instances internally. This potentially impacts the system as those instances are also tracked in the segment tracker's segment id tables. I think we should improve the implementation to not retain so many {{SegmentId}} instances and rely on arrays of {{msb}}, {{lsb}} instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)