Solve IP-Hash issue 95/34395/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Wed, 7 Mar 2018 02:43:42 +0000 (10:43 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Wed, 7 Mar 2018 02:43:47 +0000 (10:43 +0800)
commit243e817e999324ac8d5b23037876aee7a5720100
tree5e24efee705565306462807607ce6fdd319510fa
parentdecc4a36e208e38c9944481908652435aaa51ca7
Solve IP-Hash issue

Use deepcopy to avoid the side effect, which cause the client request is forward to wrong service instance occassionally.

Issue-ID: MSB-154
Change-Id: I51e04fb273c2ca13c43b1e66fab44424e6af837e
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
openresty-ext/src/assembly/resources/openresty/nginx/luaext/loadbalance/policy/consistent_hash.lua