Hi,I pull a request for add_server to upstream,and include testing code#12
Hi,I pull a request for add_server to upstream,and include testing code#12chunshengster wants to merge 5 commits intoopenresty:masterfrom
Conversation
…pawn worker has no add data
…pawn worker has no add data
|
sorry for this pr, I have not test weather the added server can take effect in proxy_pass http://bar |
|
I think i should write another function named add_peer ,which can add server from uscf->servers to uscf->peer.data,is that right ? |
|
@chunshengster I'll have a look as soon as I have a chance :) Thanks for working on this. |
|
+1 |
|
@chunshengster Please ensure that your change can work with all the existing balancer modules like least_conn, ip_hash, and etc. |
|
Hi,now My team have done this work for all existing banlancer modules , after some time ,I will repull this request ,with some tests. |
|
Has there been any progress here? Would love to see this land. |
|
@esatterwhite Have you looked at the new balancer_by_lua* directives in the balancer-by-lua github branch? |
|
Is that planned for an up coming release? |
|
@esatterwhite It's in the public balancer-by-lua github branch of this repos. It'll get included in a future release, but not necessarily in the next release. You're encouraged to try out that branch to ensure it fits your needs before it is set in the stone. |
|
hi, |
|
+1 |
Hi,agentzh , I have add a function for add_server() ,and made some test under Test::Nginx . Pls review the code ,and thx.