After huge load on cluster and restart with walCompactionEnabled=True errors on log - Fixes
@@ -493,7 +493,7 @@ public class FileWriteAheadLogManager extends GridCacheSharedManagerAdapter impl
archiver.restart();
}
- if (dsCfg.isWalCompactionEnabled()) {
+ if (dsCfg.isWalCompactionEnabled() && !cctx.kernalContext().recoveryMode()) {
assert compressor != null : "Compressor should be initialized.";
compressor.restart();
