https://bz.apache.org/bugzilla/show_bug.cgi?id=58024
Yann Ylavic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #32836|0 |1 is obsolete| | --- Comment #14 from Yann Ylavic <[email protected]> --- Created attachment 33052 --> https://bz.apache.org/bugzilla/attachment.cgi?id=33052&action=edit Fix slotmem destroy on Windows After some discussion on the dev@ mailing-list, attachment 32836 is not the correct fix. The shared slots used to store the balancers/members are destroyed and recreated at each (re)startuo, based on the size needed by the current configuration. So there shouldn't be an error when some balancers/members are added, even when no growth margin is used (growth margins are useful only for dynamic configuration via the balancer manager insterface). Hence the slots are not persistent by default on restart, the balancers start from the initial state each time, unless "BalancerPersist on" is configured and the configuration (number of balancers/members, parameters...) is the same. This new patch fixes the order used to destroy a slot since, on Windows at least, it must be detached *before* the underlying file is removed, otherwise it is reused on restart and the size check fails whenever a balancer/member is added. Could you please try it? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
