File tree Expand file tree Collapse file tree 7 files changed +10
-24
lines changed
fluss-client/src/main/resources/META-INF
src/main/java/com/alibaba/fluss/rocksdb
java/com/alibaba/fluss/server/kv/snapshot
test/java/com/alibaba/fluss/server/kv/rocksdb Expand file tree Collapse file tree 7 files changed +10
-24
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ The Apache Software Foundation (http://www.apache.org/).
77This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
88
99- com.google.code.findbugs:jsr305:1.3.9
10+ - com.ververica:frocksdbjni:6.20.3-ververica-2.0
1011- org.apache.commons:commons-lang3:3.18.0
1112- org.apache.commons:commons-math3:3.6.1
12- - org.rocksdb:rocksdbjni:10.2.1
1313- org.lz4:lz4-java:1.8.0
1414
1515This project bundles the following dependencies under the MIT (https://opensource.org/licenses/MIT)
Original file line number Diff line number Diff line change 8080 the rocksdb should be provided as a kv plugin to used by client & server.
8181 -->
8282 <dependency >
83- <groupId >org.rocksdb </groupId >
84- <artifactId >rocksdbjni </artifactId >
83+ <groupId >com.ververica </groupId >
84+ <artifactId >frocksdbjni </artifactId >
8585 </dependency >
8686
8787 <!-- test dependencies -->
Original file line number Diff line number Diff line change 2020import org .rocksdb .RocksDBException ;
2121import org .rocksdb .RocksIterator ;
2222import org .rocksdb .RocksIteratorInterface ;
23- import org .rocksdb .Snapshot ;
2423
2524import javax .annotation .Nonnull ;
2625
@@ -127,10 +126,4 @@ public byte[] value() {
127126 public void close () {
128127 iterator .close ();
129128 }
130-
131- @ Override
132- public void refresh (Snapshot snapshot ) throws RocksDBException {
133- iterator .refresh (snapshot );
134- status ();
135- }
136129}
Original file line number Diff line number Diff line change @@ -58,9 +58,6 @@ public class RocksIncrementalSnapshot implements AutoCloseable {
5858 /** File suffix of sstable files. */
5959 public static final String SST_FILE_SUFFIX = ".sst" ;
6060
61- /** File suffix of wal files. */
62- public static final String WAL_FILE_SUFFIX = ".log" ;
63-
6461 /** RocksDB instance from the backend. */
6562 @ Nonnull protected RocksDB db ;
6663
@@ -296,8 +293,7 @@ private void createUploadFilePaths(
296293 } else {
297294 sstFilePaths .add (filePath ); // re-upload
298295 }
299- } else if (!fileName .endsWith (WAL_FILE_SUFFIX )) {
300- // the wal files are always empty and should be ignored
296+ } else {
301297 miscFilePaths .add (filePath );
302298 }
303299 }
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ This project bundles the following dependencies under the Apache Software Licens
99- com.github.ben-manes.caffeine:caffeine:2.9.3
1010- com.google.code.findbugs:jsr305:1.3.9
1111- com.google.errorprone:error_prone_annotations:2.10.0
12+ - com.ververica:frocksdbjni:6.20.3-ververica-2.0
1213- commons-cli:commons-cli:1.5.0
1314- org.apache.commons:commons-lang3:3.18.0
1415- org.apache.commons:commons-math3:3.6.1
1516- org.lz4:lz4-java:1.8.0
16- - org.rocksdb:rocksdbjni:10.2.1
1717- org.xerial.snappy:snappy-java:1.1.10.4
1818
1919This project bundles the following dependencies under the MIT (https://opensource.org/licenses/MIT)
Original file line number Diff line number Diff line change 2121
2222import org .junit .jupiter .api .Test ;
2323import org .junit .jupiter .api .io .TempDir ;
24- import org .rocksdb .ColumnFamilyDescriptor ;
2524import org .rocksdb .DBOptions ;
2625import org .rocksdb .RocksDB ;
2726import org .rocksdb .RocksDBException ;
@@ -49,9 +48,7 @@ void testOpenDBFail(@TempDir Path temporaryFolder) throws Exception {
4948 RocksDB rocks =
5049 RocksDBOperationUtils .openDB (
5150 rocksDir .getAbsolutePath (),
52- Collections .singletonList (
53- new ColumnFamilyDescriptor (
54- RocksDB .DEFAULT_COLUMN_FAMILY )),
51+ Collections .emptyList (),
5552 Collections .emptyList (),
5653 dbOptions ,
5754 false );
Original file line number Diff line number Diff line change 101101 <paimon .version>1.0.1</paimon .version>
102102
103103 <fluss .hadoop.version>2.10.2</fluss .hadoop.version>
104- <rocksdb .version>10.2.1</ rocksdb .version>
104+ <frocksdb .version>6.20.3-ververica-2.0</ frocksdb .version>
105105 <slf4j .version>1.7.36</slf4j .version>
106106 <log4j .version>2.17.1</log4j .version>
107107 <jaxb .api.version>2.3.1</jaxb .api.version>
342342 </dependency >
343343
344344 <dependency >
345- <groupId >org.rocksdb </groupId >
346- <artifactId >rocksdbjni </artifactId >
347- <version >${rocksdb .version} </version >
345+ <groupId >com.ververica </groupId >
346+ <artifactId >frocksdbjni </artifactId >
347+ <version >${frocksdb .version} </version >
348348 </dependency >
349349
350350 <dependency >
You can’t perform that action at this time.
0 commit comments