Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.94.1, 0.95.2
-
None
Description
HBASE-5199 introduces this logic into Store:
+ // Delete the expired store files before the compaction selection. + if (conf.getBoolean("hbase.store.delete.expired.storefile", false) + && (ttl != Long.MAX_VALUE) && (this.scanInfo.minVersions == 0)) { + CompactSelection expiredSelection = compactSelection + .selectExpiredStoreFilesToCompact( + EnvironmentEdgeManager.currentTimeMillis() - this.ttl); + + // If there is any expired store files, delete them by compaction. + if (expiredSelection != null) { + return expiredSelection; + } + }
Is there any reason why that should not be default true?