Repository: tikv/tikv
File: src/server/config.rs (Rust)

Code before:
    /// How many snapshots can be recv concurrently.
    pub concurrent_recv_snap_limit: usize,
    #[online_config(skip)]
    pub end_point_recursion_limit: u32,
    #[online_config(skip)]
    pub end_point_stream_channel_size: usize,
    #[online_config(skip)]
    pub end_point_batch_row_limit: usize,
    #[online_config(skip)]
    pub end_point_stream_batch_row_limit: usize,
    #[online_config(skip)]
    pub end_point_enable_batch_if_possible: bool,
    #[online_config(skip)]
    pub end_point_request_max_handle_duration: Option<ReadableDuration>,
    #[online_config(skip)]
    pub end_point_max_concurrency: usize,
    #[serde(with = "perf_level_serde")]
    #[online_config(skip)]
    pub end_point_perf_level: PerfLevel,
    pub end_point_memory_quota: ReadableSize,
    #[serde(alias = "snap-max-write-bytes-per-sec")]
    pub snap_io_max_bytes_per_sec: ReadableSize,
    pub snap_max_total_size: ReadableSize,
    /// Minimal size of snapshot for applying with ingestion.
    /// If the size of snapshot is smaller than this value, it will be applied
    /// without ingestion, just using batch-write to dump kvs into kvdb.
    pub snap_min_ingest_size: ReadableSize,
    #[online_config(skip)]
    pub stats_concurrency: usize,
    #[online_config(skip)]
    pub heavy_load_threshold: usize,
    #[online_config(skip)]
    pub heavy_load_wait_duration: Option<ReadableDuration>,
    #[online_config(skip)]
    pub enable_request_batch: bool,
    #[online_config(skip)]
    pub background_thread_count: usize,
    // If handle time is larger than the threshold, it will print slow log in end point.
    #[online_config(skip)]
    pub end_point_slow_log_threshold: ReadableDuration,
    /// Max connections per address for forwarding request.
    #[online_config(skip)]
    pub forward_max_connections_per_address: usize,

    #[doc(hidden)]
    #[online_config(skip)]
    /// When TiKV memory usage reaches `memory_usage_high_water` it will try to
    /// limit memory increasing. For server layer some messages will be rejected
    /// or dropped, if they utilize memory more than
    /// `reject_messages_on_memory_ratio` * total.
    ///

Review comment (suggestion):
```suggestion
    /// without ingestion, bulk write kvs to kvdb.
```

Code after:
    /// How many snapshots can be recv concurrently.
    pub concurrent_recv_snap_limit: usize,
    #[online_config(skip)]
    pub end_point_recursion_limit: u32,
    #[online_config(skip)]
    pub end_point_stream_channel_size: usize,
    #[online_config(skip)]
    pub end_point_batch_row_limit: usize,
    #[online_config(skip)]
    pub end_point_stream_batch_row_limit: usize,
    #[online_config(skip)]
    pub end_point_enable_batch_if_possible: bool,
    #[online_config(skip)]
    pub end_point_request_max_handle_duration: Option<ReadableDuration>,
    #[online_config(skip)]
    pub end_point_max_concurrency: usize,
    #[serde(with = "perf_level_serde")]
    #[online_config(skip)]
    pub end_point_perf_level: PerfLevel,
    pub end_point_memory_quota: ReadableSize,
    #[serde(alias = "snap-max-write-bytes-per-sec")]
    pub snap_io_max_bytes_per_sec: ReadableSize,
    pub snap_max_total_size: ReadableSize,
    /// Minimal size of snapshot for applying with ingestion.
    /// If the size of snapshot is smaller than this value, it will be applied
    /// without ingestion, just bulk write kvs to kvdb.
    pub snap_min_ingest_size: ReadableSize,
    #[online_config(skip)]
    pub stats_concurrency: usize,
    #[online_config(skip)]
    pub heavy_load_threshold: usize,
    #[online_config(skip)]
    pub heavy_load_wait_duration: Option<ReadableDuration>,
    #[online_config(skip)]
    pub enable_request_batch: bool,
    #[online_config(skip)]
    pub background_thread_count: usize,
    // If handle time is larger than the threshold, it will print slow log in end point.
    #[online_config(skip)]
    pub end_point_slow_log_threshold: ReadableDuration,
    /// Max connections per address for forwarding request.
    #[online_config(skip)]
    pub forward_max_connections_per_address: usize,

    #[doc(hidden)]
    #[online_config(skip)]
    /// When TiKV memory usage reaches `memory_usage_high_water` it will try to
    /// limit memory increasing. For server layer some messages will be rejected
    /// or dropped, if they utilize memory more than
    /// `reject_messages_on_memory_ratio` * total.
    ///