Skip to content

Conversation

@killme2008
Copy link
Owner

No description provided.

Signed-off-by: Dennis Zhuang <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to improve GreptimeDB failover behavior for drain/MCP reader paths by avoiding a hard degrade-to-local-only when the configured store is initially unavailable, allowing later retries.

Changes:

  • When the configured store fails to open, return a second “lazy” drain source intended to retry opening the configured backend on subsequent drains.
  • Update stderr messaging to indicate retry behavior, and ensure cleanup closes both local and lazy stores.
  • Standardize the local drain source label to "local" in this fallback path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Dennis Zhuang <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Dennis Zhuang <[email protected]>
@killme2008 killme2008 merged commit 1c87ac3 into main Feb 11, 2026
3 checks passed
@killme2008 killme2008 deleted the feature/lazy-store branch February 11, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant