Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: directly return when found no table datas to replay #1062

Merged

Conversation

Rachelint
Copy link
Contributor

@Rachelint Rachelint commented Jul 11, 2023

Rationale

Now it will still scan logs from wal when no table datas needed to replay, it should directly return actually.

Detailed Changes

Add a fast path to return directly when no table datas needed to replay.

Test Plan

Test manually.

@Rachelint Rachelint force-pushed the directly-return-when-found-nothing-repaly branch from abbdbd8 to 41aa06c Compare July 11, 2023 06:03
Copy link
Member

@ShiKaiWi ShiKaiWi left a comment

Choose a reason for hiding this comment

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

LGTM

@Rachelint Rachelint merged commit 3dcf83b into apache:main Jul 11, 2023
Rachelint added a commit to Rachelint/ceresdb that referenced this pull request Jul 11, 2023
## Rationale
Now it will still scan logs from wal when no table datas needed to
replay, it should directly return actually.

## Detailed Changes
Add a fast path to return directly when no table datas needed to replay.

## Test Plan
Test manually.
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.

2 participants