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(tls): remove SSL_sendfile path to avoid errors in replication fullsync #2757

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Feb 1, 2025

It closes #2756 .

It seems that SockSendFileImpl<SSL_sendfile> cannot work well, and it can recover to normal if we use SockSendFileImpl<SendFileSSLImpl>, reproduced on my local.

The core changes are in src/common/io_util.cc.

@PragmaTwice PragmaTwice requested a review from git-hulk February 1, 2025 05:35
@PragmaTwice PragmaTwice changed the title fix(tls): remove SSL_sendfile path to avoid errors in fullsync fix(tls): remove SSL_sendfile path to avoid errors in replication fullsync Feb 1, 2025
@PragmaTwice PragmaTwice merged commit b878275 into apache:unstable Feb 1, 2025
37 checks passed
rizkymma pushed a commit to rizkymma/kvrocks that referenced this pull request Feb 4, 2025
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.

Replica full sync doesn't work over TLS
3 participants