From 767ab14993145a8a1091f4fee45948bfe5dd2424 Mon Sep 17 00:00:00 2001 From: Hui Xiao Date: Fri, 8 Oct 2021 14:39:28 -0700 Subject: [PATCH 1/2] Update HISTORY.md --- HISTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HISTORY.md b/HISTORY.md index 19abab9cbf4..bb8fb0885b1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -46,6 +46,7 @@ * Batch blob read requests for `DB::MultiGet` using `MultiRead`. * Add support for fallback to local compaction, the user can return `CompactionServiceJobStatus::kUseLocal` to instruct RocksDB to run the compaction locally instead of waiting for the remote compaction result. * Add built-in rate limiter's implementation of `RateLimiter::GetTotalPendingRequest(int64_t* total_pending_requests, const Env::IOPriority pri)` for the total number of requests that are pending for bytes in the rate limiter. +* Charge memory usage during data buffering, from which training samples are gathered for dictionary compression, to block cache. Unbuffering data can now be triggered if the block cache becomes full, in addition to existing conditions that can trigger unbuffering. ### Public API change * Remove obsolete implementation details FullKey and ParseFullKey from public API From df5226a096e6ec683beacbd308aea46d5a029d00 Mon Sep 17 00:00:00 2001 From: Hui Xiao Date: Fri, 8 Oct 2021 15:12:08 -0700 Subject: [PATCH 2/2] Add strict_capacity_limiy=true --- HISTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index bb8fb0885b1..228d07679ad 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -46,7 +46,7 @@ * Batch blob read requests for `DB::MultiGet` using `MultiRead`. * Add support for fallback to local compaction, the user can return `CompactionServiceJobStatus::kUseLocal` to instruct RocksDB to run the compaction locally instead of waiting for the remote compaction result. * Add built-in rate limiter's implementation of `RateLimiter::GetTotalPendingRequest(int64_t* total_pending_requests, const Env::IOPriority pri)` for the total number of requests that are pending for bytes in the rate limiter. -* Charge memory usage during data buffering, from which training samples are gathered for dictionary compression, to block cache. Unbuffering data can now be triggered if the block cache becomes full, in addition to existing conditions that can trigger unbuffering. +* Charge memory usage during data buffering, from which training samples are gathered for dictionary compression, to block cache. Unbuffering data can now be triggered if the block cache becomes full and `strict_capacity_limit=true` for the block cache, in addition to existing conditions that can trigger unbuffering. ### Public API change * Remove obsolete implementation details FullKey and ParseFullKey from public API