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>
|
||||
<groupId>org.rocksdb</groupId>
|
||||
<artifactId>rocksdbjni</artifactId>
|
||||
<version>5.8.0</version>
|
||||
<version>5.14.2</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -247,7 +247,7 @@ public class RocksDBStore implements MetadataStore {
|
|||
for (BatchOperation.SingleOperation opt : operations) {
|
||||
switch (opt.getOpt()) {
|
||||
case DELETE:
|
||||
writeBatch.remove(opt.getKey());
|
||||
writeBatch.delete(opt.getKey());
|
||||
break;
|
||||
case PUT:
|
||||
writeBatch.put(opt.getKey(), opt.getValue());
|
||||
|
|
Loading…
Reference in New Issue