Skip to content

[server] add the metric of KV preWriteBuffer #3532

Description

@zuston

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Under high write throughput on a single tablet server, if replication falls behind, the KV preWriterBuffer may be unable to release buffered data because the high watermark has not advanced, eventually leading to OOM on the tablet server.

for the above case, we should do the following ways to eliminate risk

  1. introduce the metric to observe
  2. introduce the backpressure mechanism to limit client writing speed.

Solution

No response

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions