Skip to content

Implement async fail point with tokio#82

Closed
hachikuji wants to merge 1 commit intotikv:masterfrom
hachikuji:add-async-feature
Closed

Implement async fail point with tokio#82
hachikuji wants to merge 1 commit intotikv:masterfrom
hachikuji:add-async-feature

Conversation

@hachikuji
Copy link

This patch adds support for async fail points enabled under the "async" feature flag. I've used tokio for some of its async primitives and for testing.

This is based on a patch on the slatedb fork: slatedb#1.

@ti-chi-bot
Copy link

ti-chi-bot bot commented Nov 5, 2024

Welcome @hachikuji! It looks like this is your first PR to tikv/fail-rs 🎉

Signed-off-by: Jason Gustafson <jason@responsive.dev>
@hachikuji
Copy link
Author

hachikuji commented Nov 19, 2024

Closing as a duplicate of #58 and #73. There may still be useful implementation bits. I got rid of the busy waiting TODO for example. Happy to open a separate PR if there is interest.

@hachikuji hachikuji closed this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments