From e2cb9aa27cdee2cc3e13a133ba4b3d82d49526b7 Mon Sep 17 00:00:00 2001 From: Hui Xiao Date: Fri, 25 Mar 2022 15:16:07 -0700 Subject: [PATCH] Clarify Options::rate_limiter api doc for #9607 Rate-limit automatic WAL flush after each user write (#9745) Summary: As title for https://github.com/facebook/rocksdb/pull/9607 Pull Request resolved: https://github.com/facebook/rocksdb/pull/9745 Test Plan: No code change Reviewed By: ajkr Differential Revision: D35096901 Pulled By: hx235 fbshipit-source-id: 6bd3671baecfdc04579b0a81a957bfaa7bed81e1 --- include/rocksdb/options.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index ea5351bf5..e37e675d3 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -507,6 +507,9 @@ struct DBOptions { // - Reads associated with a `ReadOptions` can be charged at // `ReadOptions::rate_limiter_priority` (see that option's API doc for usage // and limitations). + // - Writes associated with a `WriteOptions` can be charged at + // `WriteOptions::rate_limiter_priority` (see that option's API doc for + // usage and limitations). // // Rate limiting is disabled if nullptr. If rate limiter is enabled, // bytes_per_sync is set to 1MB by default.