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

introduce file location types and consistency tooling #132

Merged
merged 7 commits into from
Oct 28, 2021

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented Oct 28, 2021

Add a family of file location types, including FileSeq, FileId, FileBlockHandle. And always use Option<T> to store nullable file location for more straightforward pointer checking.

Add consistency_check and unsafe_remove_raft_groups interface for engine, only the former is implemented by reusing the recovery codes.

Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie merged commit 8864035 into tikv:master Oct 28, 2021
@tabokie tabokie deleted the corruption-tooling branch October 28, 2021 06:18
MrCroxx added a commit to MrCroxx/raft-engine that referenced this pull request Oct 28, 2021
Fix listeners' post_new_log_file not triggered when reopening
engine with existing log files in [tikv#132 ].

Add test to check if listeners have been triggered when recovering.

Signed-off-by: MrCroxx <mrcroxx@outlook.com>
tabokie pushed a commit that referenced this pull request Oct 28, 2021
Fix listeners' post_new_log_file not triggered when reopening engine with existing log files in #132.

Add test to check if listeners have been triggered when recovering.

Signed-off-by: MrCroxx <mrcroxx@outlook.com>
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.

None yet

1 participant