Revert "HBASE-21905 (addendum): Address compaction races in TestFIFOCompactionPolicy (#2203)"
This reverts commit 8003a15835
.
Reverting to apply again as HBASE-24846.
This commit is contained in:
parent
c1c2e160ec
commit
8ad59775c9
|
@ -122,11 +122,6 @@ public class TestFIFOCompactionPolicy {
|
||||||
EnvironmentEdgeManager.injectEdge(ee);
|
EnvironmentEdgeManager.injectEdge(ee);
|
||||||
Configuration conf = TEST_UTIL.getConfiguration();
|
Configuration conf = TEST_UTIL.getConfiguration();
|
||||||
conf.setInt(HStore.BLOCKING_STOREFILES_KEY, 10000);
|
conf.setInt(HStore.BLOCKING_STOREFILES_KEY, 10000);
|
||||||
// Expired store file deletion during compaction optimization interferes with the FIFO
|
|
||||||
// compaction policy. The race causes changes to in-flight-compaction files resulting in a
|
|
||||||
// non-deterministic number of files selected by compaction policy. Disables that optimization
|
|
||||||
// for this test run.
|
|
||||||
conf.setBoolean("hbase.store.delete.expired.storefile", false);
|
|
||||||
TEST_UTIL.startMiniCluster(1);
|
TEST_UTIL.startMiniCluster(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue