- 11 Feb, 2010 3 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1710 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1709 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1708 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Feb, 2010 28 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1707 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
When a new handler is applied on a connection, register a special packet in the request queue to set the handler when all current requests receive their answer. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1706 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1705 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The connection may have been already added to writable events in poll, it usefull to add it here only if the buffer was initialy empty. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1704 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
At connection level, when packet parsing fails there is no packet instance (in except block). As there is no meaning to log a packet when it is malformed, remove this parameter from _packetMalformed(). git-svn-id: https://svn.erp5.org/repos/neo/trunk@1703 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1702 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1701 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
This exception is used only during packet decoding. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1700 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Fix related tests. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1699 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1698 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
In writable(), the _send() call could have closed the connection so don't close it again if aborted or don't disable write events polling has this is already done. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1697 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1696 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1695 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Remove hanlder methods for that packet in order to reveal if it happens in reality, so ti could be fixed. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1694 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
uuid variable is used both to contain peer uuid and one of the uuids sent in message payload. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1693 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
The implementation lacks some checks around the handling of setClusterState, so add a TODO about this so we can get rid of former XXX comment. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1692 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1691 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This call, whose return value is ignore, is just here to establish the connection with master if it was cut. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1690 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Makes it thread-safe (with detailed explanation on for each method). Makes it more efficient for unregister and registered uses. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1689 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1688 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also, make logging done when catching OperationFailure exception consistent with logging done when catching PrimaryFailure exception. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1687 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This does not change code flow: - self.master_node is None when entering the loop for the first time - there is no way to restart the loop other than a PrimaryFailure exception git-svn-id: https://svn.erp5.org/repos/neo/trunk@1686 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This is identical to what is done in master/app.py:run. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1685 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This reduces the cost of invoking log method when the log line is not to be emitted. Also, don't put a space before a colon. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1684 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1683 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1682 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1681 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1680 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 09 Feb, 2010 9 commits
-
-
Vincent Pelletier authored
This bug was introduced in r928 and causes caches invalidations to be effectively no-ops. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1679 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1678 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Ask/Answer packets are linked together in both direction. The response flag is automaticaly assigned on the answer packet. The special 'Error' packet can be used as an expected answer for any non-ask packet. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1677 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
A disconnection case was calling the handler method before the close(), fix it and factorise connection closure. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1676 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
The NotifyNodeInformation packet was not always sent before connection closure, call abort() to ensure the write buffer is flushed before closure so the peer can understand that it is not a primary failure. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1675 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Aborted connections are supposed to be closed but remains until the write buffer is sent. Those connections must not be used for common operation (broacast node information...). git-svn-id: https://svn.erp5.org/repos/neo/trunk@1674 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Allow override the defaults to run unit, functional or both test suites. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1673 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1672 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1671 71dcc9de-d417-0410-9af5-da40c76e7ee4
-