Skip to content

Conversation

@QooYoung
Copy link

@QooYoung QooYoung commented Mar 7, 2018

The method client.getOne() should be called enough times even if JedisDataException is thrown, otherwise the next commands sent to server via the same connection may be crashed due to the remaining responses in its receive buffer.

The method client.getOne() should be called enough times even if JedisDataException is thrown, otherwise the next commands sent to server via the same connection may be crashed due to the remaining responses in its receive buffer.
@sazzad16
Copy link
Contributor

sazzad16 commented Mar 7, 2018

@QooYoung Change looks good. But it would be much more helpful with proper tests. Would you be able to add some tests?

@yangbodong22011
Copy link
Contributor

@sazzad16 Does this PR can slove this question #2488 (comment) which you metioned.

@sazzad16
Copy link
Contributor

sazzad16 commented Apr 6, 2021

@yangbodong22011 No.

an issue related to concerned class

I meant that this PR approaches an issue related to ShardedJedisPipeline class. And that issue is not even listed in my comment. This signifies how much flaws ShardedJedisPipeline class contains.

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