Closed Bug 753653 Opened 12 years ago Closed 12 years ago

add # of active connections to znode output

Categories

(Cloud Services :: Operations: Miscellaneous, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Atoll, Assigned: bobm)

Details

(Whiteboard: [qa-])

Attachments

(1 obsolete file)

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.
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.
Whiteboard: [qa-]
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
Status: NEW → ASSIGNED
The zwait tool is part of tools::adm.  Setting this ticket to RESOLVED FIXED.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: