lettuce
lettuce copied to clipboard
Avoid PartitionSelectorException when using enablePeriodicRefresh #2178
To solve #2178, this PR moves invalidateCache() in the if clause below. Currently, we encounter PartitionSelectorException
when cluster topology is refreshing.
Make sure that:
- [x] You have read the contribution guidelines.
- [x] You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
- [x] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
- [ ] You submit test cases (unit or integration tests) that back your changes.