mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Finish implementing supervisor infrastructure
The process hierarchy and all supervisor control commands are now working (e.g. status, create, destroy, restart), but nodes are not currently spawned with the desired configuration parameters so they don't yet operate as real cluster nodes (e.g. worker, logger, manager, proxy).
This commit is contained in:
parent
2bc533f762
commit
773b39e52e
3 changed files with 287 additions and 198 deletions
|
@ -7,11 +7,11 @@ export {
|
|||
type Node: record {
|
||||
# TODO: add proper config fields
|
||||
name: string;
|
||||
pid: count &optional;
|
||||
};
|
||||
|
||||
type Status: record {
|
||||
# TODO: add proper status fields
|
||||
n: count;
|
||||
# TODO: add more status fields ?
|
||||
nodes: table[string] of Node;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue