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 logical error: last_segment not exist #347

Conversation

JackyWoo
Copy link
Contributor

@JackyWoo JackyWoo commented Sep 2, 2024

Which issues of this PR fixes:

This PR try to fix #346

Change log:

  • Fix logical error: last_segment not exist
  • Remove some useless functions

@JackyWoo JackyWoo added the bug Something isn't working label Sep 2, 2024
@JackyWoo JackyWoo added this to the Release v2.2.0 milestone Sep 2, 2024
@JackyWoo JackyWoo force-pushed the fix_incorrect_log_index_in_truncatelog branch 2 times, most recently from c8a3959 to f19cbd0 Compare September 2, 2024 06:49
@JackyWoo JackyWoo changed the title Fix incorrect log index in truncateLog Fix logical error: last_segment not exist Sep 2, 2024
@JackyWoo JackyWoo force-pushed the fix_incorrect_log_index_in_truncatelog branch from f19cbd0 to ba79f22 Compare September 2, 2024 06:52
@JackyWoo JackyWoo force-pushed the fix_incorrect_log_index_in_truncatelog branch from ba79f22 to 5c3a35d Compare September 2, 2024 06:58
@lzydmxy
Copy link
Contributor

lzydmxy commented Sep 2, 2024

LGTM

@JackyWoo JackyWoo merged commit 3dd4d56 into JDRaftKeeper:master Sep 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not found a segment to truncate
2 participants