-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Introduction of unlink with lock broke integrations with Twemproxy #3041
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
Comments
@nbroeking Can you provide a stack trace so we can figure out the best way to resolve this? |
This goes from here:
See that Thanks |
Perhaps we could fall back to do a trial |
Fixes spring-projects#3041 Some Redis clients/servers don't allow to perform an `INFO` command, therefore we are not able to determine if we can perform `UNLINK` or not. * Deprecate `RedisUtils.isUnlinkAvailable()` as not reliable source of through; use trial with fallback algorithm in the target logic around `UNLINK` command calls. **Cherry-pick to 5.1.x**
Fixes #3041 Some Redis clients/servers don't allow to perform an `INFO` command, therefore we are not able to determine if we can perform `UNLINK` or not. * Deprecate `RedisUtils.isUnlinkAvailable()` as not reliable source of through; use trial with fallback algorithm in the target logic around `UNLINK` command calls. **Cherry-pick to 5.1.x**
Hey @garyrussell and @artembilan for some reason my notification settings were broken. I just saw your comments. Thank you for addressing. Is there anything else you need from me? |
Thank you, @nbroeking, for coming back to us! Well, that fix has been merged. You can test your solution with the latest snapshot |
Hi! #nitpick I would like to propose to write the log warning with just the exception message and not the whole stack trace. We have an older Redis and every lock now outputs an exception stack trace dump. Best regards! |
please, raise a new GH issue. Although your request about debug logging mode makes sense, too. Anyway: a new issue, please. This one is fully not related anymore. |
Bug report / Enhancement
We use spring-integration-redis to use twemproxy or T-Redis. (T-Redis is a sharding mechanism for Redis). The library worked great until the introduction of the following diff.
88c7646#diff-befc3689f434cc94881bf3d1818f9191
Once this diff was released it causes an exception to be thrown when you issue an lock.unlock() call. This happens because twemproxy does not support the call
info server
.The last working version was 5.0.1. All of the more recent versions are broken.
Is this something you support / are willing to fix?
The text was updated successfully, but these errors were encountered: