Bug 66369 - History Store garbage collection should iterate over entries, not blobs
Summary: History Store garbage collection should iterate over entries, not blobs
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks: 55182
  Show dependency tree
 
Reported: 2004-06-09 14:23 EDT by DJ Houghton CLA
Modified: 2004-06-09 16:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2004-06-09 14:23:58 EDT
build i0608-0800

During #shutdown we clean the garbage from the history store by removing all
blobs which aren't referenced. This is done by collecting all the blobs with a
reference and then removing the rest.

We should be doing the reverse. We should keep track of "potential blobs to
remove" and then on shutdown ensuring that they don't have references and then
remove them.
Comment 1 DJ Houghton CLA 2004-06-09 16:30:58 EDT
Fixed and released to HEAD.