Skip to content

Issue with asynchronous topology refresh #1763

Answered by mp911de
jdeppe-pivotal asked this question in Q&A
Discussion options

You must be logged in to vote

The client behaves as designed. MOVED triggers a subsequent topology refresh and UnknownPartitionException is a consequence for the current command. The topology refresh isn't performed within the receiving process as with sufficient traffic (consider multiple commands being completed with MOVED) topology refresh would result in a DDoS-like scenario.

You can disable cluster membership validation (ClusterClientOptions.validateClusterNodeMembership) which is more a security setting to avoid connection creation to arbitrary nodes.

So as a result of asynchronous topology refresh and by-default enabled cluster membership validation you see this failure.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jdeppe-pivotal
Comment options

Answer selected by jdeppe-pivotal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants