-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 redis ticket registry bean type #5577
Conversation
|
Codecov Report
@@ Coverage Diff @@
## master #5577 +/- ##
=====================================================
+ Coverage 91.83826% 91.84609% +0.00783%
- Complexity 17650 17651 +1
=====================================================
Files 2792 2792
Lines 68037 68041 +4
Branches 4887 4887
=====================================================
+ Hits 62484 62493 +9
+ Misses 2643 2640 -3
+ Partials 2910 2908 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Have you also tested the pub/sub functionality with the bean change and confirmed that it continues to work ok? |
The change you made last week that set Lazy to false for the whole class also fixes this issue. I suppose that is because Spring can see the actual type of the bean rather than the declared type that doesn't match the argument type? Intellij is complaining that |
You might be correct there. We could register the topic dynamically if it starts to cause serious issues with laziness but I would prefer to keep an outer type as an interface to help with proxies. Can revisit if it shows up again. I am curious as to why this was not caught in puppeteer tests. All should run with lazy-beans activated. I'll take a second look. |
I am working on trying to re-create (locally with puppeteer test) cas in k8s talking to redis sentinel cluster in k8s, b/c I don't think CAS recovers from redis master changing. and this bean was failing unless I changed argument type to
Topic
(changing bean type toChannelTopic
also worked). Not sure why it works in existing tests, but my test just hasreports
andredis-ticket-registry
.