You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RedisClusterClient should emit an event via EventBus if an adaptive refresh is triggered so adaptive triggers can be used outside of the client itself to perform an e.g. delayed topology refresh.
Is your feature request related to a problem? Please describe
See #672, in which topology updates are performed later than the adaptive trigger is consumed (Lettuce is updating faster the topology than Redis is performing the topology change).
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
Describe alternatives you've considered
Introducing delays but that doesn't seem to be a good fit as it introduces another layer of guesswork.
The text was updated successfully, but these errors were encountered:
Topology refresh scheduling by an adaptive trigger now emits a AdaptiveRefreshTriggeredEvent that allows applications to get notified about an adaptive refresh so application can track the state of the topology view and potentially register another topology update.
How can one delay topology refresh by subscribing to this event ? Because the refresh is already done and then the event is published right ? Are we expecting to reloadpartitions again () as part of this event , probably by scheduling the reloadparitions() for some time in future ?
Feature Request
RedisClusterClient
should emit an event viaEventBus
if an adaptive refresh is triggered so adaptive triggers can be used outside of the client itself to perform an e.g. delayed topology refresh.Is your feature request related to a problem? Please describe
See #672, in which topology updates are performed later than the adaptive trigger is consumed (Lettuce is updating faster the topology than Redis is performing the topology change).
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
Describe alternatives you've considered
Introducing delays but that doesn't seem to be a good fit as it introduces another layer of guesswork.
The text was updated successfully, but these errors were encountered: