Closed toopa2002 closed 7 years ago
Right, thanks for reporting this.
I supposed to be python 2.6 compatible when backporting it to 0.9.x but missed obvious fact that 'X' has no leading zeros (master using format({:x})
which has it).
Fixed in PR #1761
It is very fast fix. I'm going to create a pull request, but you are faster. Thank you.
You're welcome! and thanks for the fix too
I found some wrong compute hash ring position when using fnv1a_ch hash algorithm compare to Carbon-c-relay.
cluster local fnv1a_ch 127.0.0.1:2013=a 127.0.0.1:2113=b 127.0.0.1:2213=c 127.0.0.1:2313=d 127.0.0.1:2413=e 127.0.0.1:2513=f 127.0.0.1:2613=g 127.0.0.1:2713=h ;
It need to prepend "0" to "bigh_hash" to make to computation correct.