New issue
Advanced search Search tips

Issue 800030 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocking:
issue 799995



Sign in to add a comment

archiver: Keep local hash lookup table

Project Member Reported by mar...@chromium.org, Jan 8 2018

Issue description

As more projects are archiving large amount of data with low churn, keeping a local cache of the hashes becomes necessary performance wise. This enables the case where more than 100GB of data is archived repeatedly.

The mechanism is:

- "isolate archive" add a flag to specify the location to keep the hashing cache
- when specified, keep a lookup table for all files {inode:hash}

The lookup table key is not actually the "inode" but a combination of metadata from the filesystem via os.Stat(). The namespace (mainly to determine the hashing algorithm) must also be kept.

https://www.kernel.org/pub/software/scm/git/docs/technical/racy-git.txt is an good primer on the subject.

 
Project Member

Comment 1 by sheriffbot@chromium.org, Jan 10

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment