Skip to content

EAGAIN not handled for TLS during diskless load#7305

Merged
antirez merged 1 commit intoredis:unstablefrom
madolson:unstable-connection
May 22, 2020
Merged

EAGAIN not handled for TLS during diskless load#7305
antirez merged 1 commit intoredis:unstablefrom
madolson:unstable-connection

Conversation

@madolson
Copy link
Contributor

For TLS, we might not have read in a full frame, so there is data on the connection so epoll fires, but there isn't enough data to actually read from the socket.

Not sure how common this is, we have some testing that randomly fragments TLS packets to catch some of this stuff. I don't think this can happen for TCP.

@oranagra
Copy link
Member

@antirez please merge.
@madolson is that testing framework running on top of the redis testsuite? do you have a good coverage with it? Is it running periodically? So we can spot future issues?
P. S. This is not diskless load, but the diskbased loading of a diskless master data.

@antirez antirez merged commit 285817b into redis:unstable May 22, 2020
@antirez
Copy link
Contributor

antirez commented May 22, 2020

Thanks @madolson

JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Jun 18, 2020
EAGAIN not handled for TLS during diskless load
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.

3 participants