Draining sync pools does not immediately close out the connections active to them, as we have a backend timeout of 600 seconds. Add # of active connections to the znode output for list/drain/undrain so this is more apparent.
Created attachment 622634 [details] [diff] [review] add active connection count to list/drain/undrain output The Hash.new |h,k| lines make a lot of undefined errors go away, but I'm not at all certain they're the correct solution. Still, it does function correctly.
Comment on attachment 622634 [details] [diff] [review] add active connection count to list/drain/undrain output Patch is buggy and presumed not safe to use, will require reimplementation by someone more versed in the language. The specific call to Zeus to get connection counts is: + connections = @ps.connection_count(node)
Attachment #622634 - Attachment is obsolete: true
Bob wrote a tool called "zwait" that does precisely what this would have been used for anyways. :bobm, could you ship zwait as part of tools::adm and mark this RESOLVED FIXED when that's done?
Assignee: nobody → bobm
The zwait tool is part of tools::adm. Setting this ticket to RESOLVED FIXED.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.