Weight 0 vs Disable


#1

What is the difference between Weight 0 and Disable against backend from persistent connections point of view? We use cookie based routing. We use weight 0 for backends which going into maintenance or doing new code deployment and other backends weight is 100. The problem customers are facing is, even they put weight 0, old connections are still goingg. That is expected behaviour as long as they finish thei old transaction but due to cookie based routing, even they hit the applciation after couple of houers, requests are still going to old backend which is not serving the latest code. is there anythig we can stop percistenct connectiosn to end up after some time?

after doing research on ths problem, i found max idle time for Cookies insert statement. Can we leverage to stop the idle cookie, say after 30 mins?

Srinivas Kotaru