Ticket #526 (new enhancement)

Opened 6 years ago

add graceful shutdown command

Reported by: philip Owned by: somebody
Priority: minor Milestone:
Component: ALL modules Version:
Keywords: Cc:

Description

Add a graceful shutdown command that sends a "TERMINATE INPUT" flag to all modules. All "input" modules would immediately shutdown, but other modules would ignore this. Some relatively short period of time later it would send a "TERMINATE ALL" flag to shutdown the others.

This would have the advantage of not causing data that is in a ring, but not yet processed to be lost. For example, this gives an export_generic that connects to a Winston to push out the last few tracebufs that arrived and are in the ring but not yet sent to be sent.

Likely this is a small issue, but it seems like being able to reboot an earthworm machine without losing data would be desirable.

Note: See TracTickets for help on using tickets.