Skip to content

Conversation

WenyXu
Copy link
Member

@WenyXu WenyXu commented Oct 17, 2025

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

close #7100

What's changed and what's your intention?

This PR introduces a Noop WAL provider for the datanode. It is designed for situations where the configured WAL provider becomes temporarily unavailable.

In a GreptimeDB cluster, there are two places where the WAL provider should be configured:

  • Metasrv — responsible for generating WAL provider metadata for new regions.
  • Datanode — responsible for reading and writing WAL data.

This means that when the WAL provider is temporarily unavailable, users only need to configure the datanode’s WAL provider as Noop to keep the cluster functional.

PR Checklist

Please convert it to a draft if some of the following conditions are not met.

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.
  • API changes are backward compatible.
  • Schema or data changes are backward compatible.

@WenyXu WenyXu requested review from a team, evenyag, v0y4g3r and waynexia as code owners October 17, 2025 07:01
@WenyXu WenyXu requested a review from fengjiachun October 17, 2025 07:01
@github-actions github-actions bot added size/M docs-required This change requires docs update. labels Oct 17, 2025
@github-actions github-actions bot added docs-not-required This change does not impact docs. and removed docs-required This change requires docs update. labels Oct 17, 2025
@WenyXu WenyXu added this pull request to the merge queue Oct 20, 2025
Merged via the queue into GreptimeTeam:main with commit 3119464 Oct 20, 2025
56 checks passed
@WenyXu WenyXu deleted the feat/noop-wal branch October 20, 2025 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-not-required This change does not impact docs. size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce the Noop WAL provider for datanode

3 participants