mirror of https://github.com/apache/kafka.git
KAFKA-6100: Down-grade RocksDB to 5.7.3
Author: Guozhang Wang <wangguoz@gmail.com> Reviewers: Vahid Hashemian <vahidhashemian@us.ibm.com>, Damian Guy <damian.guy@gmail.com>, Bill Bejeck <bill@confluent.io> Closes #4136 from guozhangwang/K6100-rocksdb-580-regression
This commit is contained in:
parent
adb9d5ae76
commit
ea6a67af70
|
@ -64,7 +64,7 @@ versions += [
|
||||||
// PowerMock 1.x doesn't support Java 9, so use PowerMock 2.0.0 beta
|
// PowerMock 1.x doesn't support Java 9, so use PowerMock 2.0.0 beta
|
||||||
powermock: "2.0.0-beta.5",
|
powermock: "2.0.0-beta.5",
|
||||||
reflections: "0.9.11",
|
reflections: "0.9.11",
|
||||||
rocksDB: "5.8.0",
|
rocksDB: "5.7.3",
|
||||||
scalatest: "3.0.4",
|
scalatest: "3.0.4",
|
||||||
scoverage: "1.3.1",
|
scoverage: "1.3.1",
|
||||||
slf4j: "1.7.25",
|
slf4j: "1.7.25",
|
||||||
|
|
|
@ -269,6 +269,11 @@ public class RocksDBStore<K, V> implements KeyValueStore<K, V> {
|
||||||
} catch (RocksDBException e) {
|
} catch (RocksDBException e) {
|
||||||
throw new ProcessorStateException("Error while range compacting during restoring store " + this.name, e);
|
throw new ProcessorStateException("Error while range compacting during restoring store " + this.name, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// we need to re-open with the old num.levels again, this is a workaround
|
||||||
|
// until https://github.com/facebook/rocksdb/pull/2740 is merged in rocksdb
|
||||||
|
close();
|
||||||
|
openDB(internalProcessorContext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue