Skip to content

Commit

Permalink
Merge pull request #11 from stefan-zobel/9.5.fb
Browse files Browse the repository at this point in the history
Merge 9.5.fb
  • Loading branch information
stefan-zobel authored Aug 22, 2024
2 parents 5c6b2eb + e6964bf commit f625b8d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 5 deletions.
Binary file added bin/9.5.2/librocksdbjni-linux64-musl.so
Binary file not shown.
Binary file added bin/9.5.2/librocksdbjni-linux64.so
Binary file not shown.
Binary file added bin/9.5.2/librocksdbjni-win64.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.sourceforge.streamsupport</groupId>
<artifactId>schwefel</artifactId>
<packaging>jar</packaging>
<version>9.4.0.1</version>
<version>9.5.2.1-SNAPSHOT</version>
<name>schwefel</name>
<description>A dead simple RocksDB Java wrapper</description>
<url>https://github.com/stefan-zobel/schwefel/</url>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/org/rocksdb/RateLimiter.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public RateLimiter(final long rateBytesPerSecond) {
* when rate_bytes_per_sec is set to 10MB/s and refill_period_us is set to
* 100ms, then 1MB is refilled every 100ms internally. Larger value can
* lead to burstier writes while smaller value introduces more CPU
* overhead. The default of 100,000ms should work for most cases.
* overhead. The default of 100,000us should work for most cases.
*/
public RateLimiter(final long rateBytesPerSecond,
final long refillPeriodMicros) {
Expand All @@ -66,7 +66,7 @@ public RateLimiter(final long rateBytesPerSecond,
* when rate_bytes_per_sec is set to 10MB/s and refill_period_us is set to
* 100ms, then 1MB is refilled every 100ms internally. Larger value can
* lead to burstier writes while smaller value introduces more CPU
* overhead. The default of 100,000ms should work for most cases.
* overhead. The default of 100,000us should work for most cases.
* @param fairness RateLimiter accepts high-pri requests and low-pri requests.
* A low-pri request is usually blocked in favor of hi-pri request.
* Currently, RocksDB assigns low-pri to request from compaction and
Expand Down Expand Up @@ -95,7 +95,7 @@ public RateLimiter(final long rateBytesPerSecond,
* when rate_bytes_per_sec is set to 10MB/s and refill_period_us is set to
* 100ms, then 1MB is refilled every 100ms internally. Larger value can
* lead to burstier writes while smaller value introduces more CPU
* overhead. The default of 100,000ms should work for most cases.
* overhead. The default of 100,000us should work for most cases.
* @param fairness RateLimiter accepts high-pri requests and low-pri requests.
* A low-pri request is usually blocked in favor of hi-pri request.
* Currently, RocksDB assigns low-pri to request from compaction and
Expand Down Expand Up @@ -127,7 +127,7 @@ public RateLimiter(final long rateBytesPerSecond,
* when rate_bytes_per_sec is set to 10MB/s and refill_period_us is set to
* 100ms, then 1MB is refilled every 100ms internally. Larger value can
* lead to burstier writes while smaller value introduces more CPU
* overhead. The default of 100,000ms should work for most cases.
* overhead. The default of 100,000us should work for most cases.
* @param fairness RateLimiter accepts high-pri requests and low-pri requests.
* A low-pri request is usually blocked in favor of hi-pri request.
* Currently, RocksDB assigns low-pri to request from compaction and
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/rocksdb/TickerType.java
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,10 @@ public enum TickerType {

SST_FOOTER_CORRUPTION_COUNT((byte) -0x55),

FILE_READ_CORRUPTION_RETRY_COUNT((byte) -0x56),

FILE_READ_CORRUPTION_RETRY_SUCCESS_COUNT((byte) -0x57),

TICKER_ENUM_MAX((byte) -0x54);

private final byte value;
Expand Down
Binary file modified src/main/resources/librocksdbjni-linux64-musl.so
Binary file not shown.
Binary file modified src/main/resources/librocksdbjni-linux64.so
Binary file not shown.
Binary file modified src/main/resources/librocksdbjni-win64.dll
Binary file not shown.

0 comments on commit f625b8d

Please sign in to comment.