Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.3.0, 0.98.18, 1.4.0, 2.0.0
-
None
Description
In date tiered compaction, the store files older than max age are never touched by minor compactions. Here we introduce a 'freeze window' operation, which does the follow things:
1. Find all store files that contains cells whose timestamp are in the give window.
2. Compaction all these files and output one file for each window that these files covered.
After the compaction, we will have only one in the give window, and all cells whose timestamp are in the give window are in the only file. And if you do not write new cells with an older timestamp in this window, the file will never be changed. This makes it easier to do erasure coding on the freezed file to reduce redundence. And also, it makes it possible to check consistency between master and peer cluster incrementally.
And why use the word 'freeze'?
Because there is already an 'HFileArchiver' class. I want to use a different word to prevent confusing.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-15339 Improve DateTieredCompactionPolicy
- Closed
- links to