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

读写分离还没有实现? #46

Open
mengzhaofeng2016 opened this issue Nov 26, 2022 · 5 comments
Open

读写分离还没有实现? #46

mengzhaofeng2016 opened this issue Nov 26, 2022 · 5 comments

Comments

@mengzhaofeng2016
Copy link

No description provided.

@HsuJv
Copy link
Collaborator

HsuJv commented Nov 26, 2022

You can implement your own reader/writer following this example or this one.
Brs.

@mengzhaofeng2016
Copy link
Author

need async read,write

@mengzhaofeng2016
Copy link
Author

You can implement your own reader/writer following this example or this one. Brs.

this can not solve my problem

@HsuJv
Copy link
Collaborator

HsuJv commented Nov 26, 2022

Async I/O requires duplicating all the existing methods currently signed with where S: Read + Write, since there are no traits bounds that can be implemented for both sync & async read/write.
This functionality is designed to be done in the next release.
Currently, we are trying to figure out how to set up an integration test env for CI/regression test to avoid bugs like #40
Hope this information can be helpful to you.
Also, it is welcome to receive PR from you to do this async change.

BRs.

@mengzhaofeng2016
Copy link
Author

Async I/O requires duplicating all the existing methods currently signed with where S: Read + Write, since there are no traits bounds that can be implemented for both sync & async read/write. This functionality is designed to be done in the next release. Currently, we are trying to figure out how to set up an integration test env for CI/regression test to avoid bugs like #40 Hope this information can be helpful to you. Also, it is welcome to receive PR from you to do this async change.

BRs.

that's a big project~~

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

No branches or pull requests

2 participants