HDDS-345. Upgrade RocksDB version from 5.8.0 to 5.14.2. Contributed by Nanda kumar.
This commit is contained in:
parent
4023eeba05
commit
d1830d8b8e
|
@ -75,7 +75,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.rocksdb</groupId>
|
<groupId>org.rocksdb</groupId>
|
||||||
<artifactId>rocksdbjni</artifactId>
|
<artifactId>rocksdbjni</artifactId>
|
||||||
<version>5.8.0</version>
|
<version>5.14.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -247,7 +247,7 @@ public class RocksDBStore implements MetadataStore {
|
||||||
for (BatchOperation.SingleOperation opt : operations) {
|
for (BatchOperation.SingleOperation opt : operations) {
|
||||||
switch (opt.getOpt()) {
|
switch (opt.getOpt()) {
|
||||||
case DELETE:
|
case DELETE:
|
||||||
writeBatch.remove(opt.getKey());
|
writeBatch.delete(opt.getKey());
|
||||||
break;
|
break;
|
||||||
case PUT:
|
case PUT:
|
||||||
writeBatch.put(opt.getKey(), opt.getValue());
|
writeBatch.put(opt.getKey(), opt.getValue());
|
||||||
|
|
Loading…
Reference in New Issue