HDDS-345. Upgrade RocksDB version from 5.8.0 to 5.14.2. Contributed by Nanda kumar.

This commit is contained in:
Márton Elek 2018-08-14 08:32:27 +02:00
parent 4023eeba05
commit d1830d8b8e
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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());