Commit 7a7cf9f9 authored by Grégory Wisniewski's avatar Grégory Wisniewski

TODO done in r1815-1818, r1828.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1834 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 507604be
......@@ -25,23 +25,6 @@ RC - write ZODB-API-level tests
RC - Review XXX in the code (CODE)
RC - Review TODO in the code (CODE)
RC - Review output of pylint (CODE)
- Connections should be integrated to Node class instances (CODE)
Currently, connections are managed separately from nodes, and the code
very often needs to find one from the other. As all connections are to
a node, and as all nods can be reperesented as Node class instances,
such instance should directly contain associated connection for code
simplicity.
Link node state and connection state, a node cannot be seens as running
and unconnected at the same time from a node point of view.
Consider something like:
- UNAVAILABLE implies UNCONNECTED
- UNKNOWN implies UNCONNECTED
- RUNNING implies CONNECTED
- IDENTIFIED implies RUNNING
- DOWN implies that the node is dropped from manager/db/config
- Rework indexes in NodeManager class (CODE)
NodeManager should provide indexes to quickly find nodes by type, UUID,
(ip, port), connection type (listening...) and state (identified...)
- Keep-alive (HIGH AVAILABILITY)
Consider the need to implement a keep-alive system (packets sent
automatically when there is no activity on the connection for a period
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment