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

Jedis test PublishSubscribeCommandsTest#handleClientOutputBufferLimitForSubscribeTooSlow fails against Yedis #771

Closed
amitanandaiyer opened this issue Jan 18, 2019 · 0 comments

Comments

@amitanandaiyer
Copy link
Contributor

It looks like when we exceed the buffer limits, the connection context is closed and the buffers are freed. But the underlying connection stays open.

It stays open until the next command is sent.

We should close the connection promptly when the buffer limits exceed.

yugabyte-ci pushed a commit that referenced this issue Feb 27, 2019
Summary:
When we exceed the yedis buffering limits, the connection context is closed and the buffers are freed.

But the underlying connection stays open.

This change ensures that we the connection promptly when the buffer limits exceed.

Test Plan:
(YB-Jedis against yugabyte. Importing it in https://phabricator.dev.yugabyte.com/D6030)
mvn test -Dtest=PublishSubscribeCommandsTest#handleClientOutputBufferLimitForSubscribeTooSlow

Reviewers: hector, rahuldesirazu, sergei, mihnea

Reviewed By: mihnea

Subscribers: mihnea, yql

Differential Revision: https://phabricator.dev.yugabyte.com/D6023
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

1 participant