- 05 Aug, 2009 4 commits
-
-
Grégory Wisniewski authored
from NeoTestBase. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1179 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1178 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1177 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1176 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 04 Aug, 2009 16 commits
-
-
Grégory Wisniewski authored
executed each time a transaction is stored and only if the last OID has changed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1175 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
When primary master node gets disconnected, use NodeManager.update method with DOWN_STATE, so that it gets removed. Clear node manager content and re-add all master node given in the configuration before trying to reconnect to primary master. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1174 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Also log nodes known by address. Trigger a node manager log when it gets updated. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1173 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1172 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
PrimaryMasterHandler must not be applied to the listening connection, but only to the one remaining client connection (ie, the connection we established to the primary master node). All other connections (listening & server) must get IdentificationHandler (actualy only using handleAskPrimaryMaster, so a more restricted handler would better fit). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1171 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
file. New masters will be registered by an admin and their config updated to ensure no more than one master could run concurrently when they restart without known each other. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1170 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make connection.py call connectionAccepted with the new connection as parameter. Change connectionAccepted prototype, as fewer parameters are needed now that "conn" contains them. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1169 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Apply SecondaryMasterHandler to all established connections after having set the identificationHandler on the listening connection. This fixes primary master node not notifying secondary master node disconnections. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1168 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1167 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Instead of stopping the whole cluster, only stop masters. This avoids disconnecting neoctl from admin process, as it will not reconnect (to be tested separately). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1166 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1165 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
It is only important to raise a type error when other's type might be equal to EnumItem. In other cases, just return False. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1164 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1163 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
each transaction in the log. So use it as before for undoLog() API implementation and for the iterator that requires the OID list. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1162 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
methods with two underscores instead of one. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1161 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
is already described in the class docstring. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1160 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Aug, 2009 20 commits
-
-
Vincent Pelletier authored
Add an XXX about a duplaicate function definition in the same file. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1159 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
- Fix an inversion in killSecondaryMaster making it kill only primary nodes. - Add DELAY_SAFETY_MARGIN to make explicit which part of a sleep delay is just here for safety, WRT the "mandatory" part of the delay. - A disconnected secondary master node must be removed from NM, so its state becomes None. - Add tests comparing the behaviour of a 2-masters and 3-masters cluster. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1158 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
the INVALID_OID is never generated by getNewOIDList(). Moreover, we can't answer with an error in the case where we have no last OID but a last PTID. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1157 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1156 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
on UUIDs is lost. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1155 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1154 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1153 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
fails, then it returns immediately. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1152 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
handlers. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1151 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1150 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1149 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
list to think about a global rename of handler's methods. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1148 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
to help navigation through the code. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1147 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Make it simpler to call NEOCluster.__newProcess. Categorise process by node type, and add accessors to retrieve all nodes of a given type. Generate node uuids in the test and implement accessors for this. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1146 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1145 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1144 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1143 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Decorators defined in decorators.py are no more used in NEO, all extracted patterns are now implied by the handlers. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1142 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Add the possibility to provide a UUID to a node upon startup. Mostly usefull in functional tests where we want to map a process to its UUID. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1141 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- SERIAL_NOT_FOUND is no more usefull. - TIMEOUT_ERROR_CODE/handleTimeoutError is not used. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1140 71dcc9de-d417-0410-9af5-da40c76e7ee4
-