- 12 Feb, 2010 17 commits
-
-
Grégory Wisniewski authored
Event connectionFailed is trigerred only when a connection do not succeed, meaning that the connection was never opened and no packets could have been sent or received through it. Here the unregistration from the dispatcher was useless in case of a connection failed. Remove the related XXX. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1736 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1735 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1734 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1733 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1732 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Packets are sent are next poll(), there is no reason to register first packets to clients nodes (at most one packet per connection here). git-svn-id: https://svn.erp5.org/repos/neo/trunk@1731 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1730 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Data structure seems appropriate as from a master point of view, a client can initiate more than on transaction at time (as it's multithreaded) so it is required to index current transaction by UUID first, then by tid. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1729 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Master never receiver node information notifications so the handler method must not be nor implemented neither tested. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1728 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1727 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1726 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1725 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1724 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Remove hard-coded email addresses - Add command line options to: - Choose sender, recipients, mail server - Cluster configuration (masters, storages, replicas...) - Include import speed and datafs size in mail subject - Clean a bit the code structure. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1723 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Remove hard-coded mail addresses and smtp server informations. - Use command line to: - select which tests to run - define mail sender, recipients and server git-svn-id: https://svn.erp5.org/repos/neo/trunk@1722 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
It is valid to return 'None' value as the transaction information is not present on all storage node concerned by the transaction. Update related test. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1721 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1720 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 11 Feb, 2010 12 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1719 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1718 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1717 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
This tool monkey patch the NEO Storage 'copyTransactionFrom' method to compute statistical information about import. It expect a data.fs path as argument and send a report mail to defined recipients. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1716 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1715 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1714 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- Return False when a ping has been sent, so current instance isn't trashed and replaced by ping's internal expectPacket. - Make current idleEvent instance handle ping's timeout, to avoid creating a new event for each ping sent in relation to an existing event. - Don't call expectPacket from ping when given a msg_id, meaning it is related to an existing event. - Add a minimal delay of 5 seconds between 2 pings. - Update event tests git-svn-id: https://svn.erp5.org/repos/neo/trunk@1713 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1712 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1711 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
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 11 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
-