Consistent hashing support server tag#2994
Conversation
|
fix #2993 |
|
@chenBright @wwbmmm please take a look |
|
Thank you for your contribution! I suggest to add a flag for backward compatibility: If the flag is on, add server tag for hash computing, if the flag is off, remain the original logic. Since consistent-hashing is always used in senarios that the servers are stateful, changing hashing logic may cause the request routed to new server that does not contain previous data for that request. |
aab5ae8 to
4512205
Compare
done |
|
@chenBright @wwbmmm please take a look, thx |
What problem does this PR solve?
Issue Number:2993
Problem Summary:
What is changed and the side effects?
Changed:
Side effects:
Performance effects:
Breaking backward compatibility:
Check List: