Add Stream SSTable API to Sidecar to stream SSTable components through zero copy...
authorSaranya Krishnakumar <saranya_k@apple.com>
Tue, 28 Sep 2021 22:28:29 +0000 (15:28 -0700)
committerYifan Cai <yifan_cai@apple.com>
Wed, 29 Sep 2021 23:11:30 +0000 (16:11 -0700)
commit4e4b8eac699606ad09e2f9debc8ef71285d61af3
tree90247ca197229437f5cbef489f97164b73f9e007
parent29485e077526a1730e3ba0cb3ca268cfd060462a
Add Stream SSTable API to Sidecar to stream SSTable components through zero copy streaming

Patch by Saranya Krishnakumar; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRASC-28
21 files changed:
.gitignore
README.md
build.gradle
src/main/dist/conf/sidecar.yaml
src/main/java/com/google/common/util/concurrent/SidecarRateLimiter.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/Configuration.java
src/main/java/org/apache/cassandra/sidecar/MainModule.java
src/main/java/org/apache/cassandra/sidecar/exceptions/RangeException.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/models/HttpResponse.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/models/Range.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/routes/StreamSSTableComponent.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/utils/CachedFilePathBuilder.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/utils/FilePathBuilder.java [new file with mode: 0644]
src/main/java/org/apache/cassandra/sidecar/utils/FileStreamer.java [new file with mode: 0644]
src/test/java/org/apache/cassandra/sidecar/FilePathBuilderTest.java [new file with mode: 0644]
src/test/java/org/apache/cassandra/sidecar/RangeTest.java [new file with mode: 0644]
src/test/java/org/apache/cassandra/sidecar/StreamSSTableComponentTest.java [new file with mode: 0644]
src/test/java/org/apache/cassandra/sidecar/TestModule.java
src/test/java/org/apache/cassandra/sidecar/TestSslModule.java
src/test/java/org/apache/cassandra/sidecar/ThrottleTest.java [new file with mode: 0644]
src/test/resources/data/TestKeyspace/TestTable-54ea95ce-bba2-4e0a-a9be-e428e5d7160b/snapshots/TestSnapshot/TestKeyspace-TestTable-54ea95ce-bba2-4e0a-a9be-e428e5d7160b-Data.db [new file with mode: 0644]