- 11 Mar, 2019 1 commit
-
-
Julien Muchembled authored
-
- 18 Jan, 2017 1 commit
-
-
Julien Muchembled authored
-
- 25 Jan, 2016 1 commit
-
-
Julien Muchembled authored
-
- 01 Dec, 2015 1 commit
-
-
Julien Muchembled authored
With the previous commit, the request to truncate the DB was not stored persistently, which means that this operation was still vulnerable to the case where the master is restarted after some nodes, but not all, have already truncated. The master didn't have the information to fix this and the result was a DB partially truncated. -> On a Truncate packet, a storage node only stores the tid somewhere, to send it back to the master, which stays in RECOVERING state as long as any node has a different value than that of the node with the latest partition table. We also want to make sure that there is no unfinished data, because a user may truncate at a tid higher than a locked one. -> Truncation is now effective at the end on the VERIFYING phase, just before returning the last ids to the master. At last all nodes should be truncated, to avoid that an offline node comes back with a different history. Currently, this would not be an issue since replication is always restart from the beginning, but later we'd like they remember where they stopped to replicate. -> If a truncation is requested, the master waits for all nodes to be pending, even if it was previously started (the user can still force the cluster to start with neoctl). And any lost node during verification also causes the master to go back to recovery. Obviously, the protocol has been changed to split the LastIDs packet and introduce a new Recovery, since it does not make sense anymore to ask last ids during recovery.
-
- 21 May, 2015 1 commit
-
-
Julien Muchembled authored
-
- 07 Jan, 2014 1 commit
-
-
Julien Muchembled authored
-
- 20 Aug, 2012 1 commit
-
-
Julien Muchembled authored
-
- 13 Mar, 2012 1 commit
-
-
Julien Muchembled authored
-
- 28 Feb, 2012 1 commit
-
-
Vincent Pelletier authored
-
- 05 Jan, 2012 1 commit
-
-
Vincent Pelletier authored
-
- 27 Apr, 2011 1 commit
-
-
Julien Muchembled authored
Main reason is that it's difficult to know in advance which side really closes the connection. Network events can be chaotic and this could lead to many race conditions. Thus, handler can be used to update any database that is somewhat redundant to the connection status, i.e. node status usually. Safely and less duplicated code. This change is motivated by recurrent random failures during election. An example of race condition was that 2 fully connected master could close the extra connection (the primary -> secondary one) at the same time. In order to stabilize lower-level code and start with reliable election process, code has also been simplified to not care about node states. All connections without exception are closed at the end of the election and states are then updated 1 by 1 by identification handler. Note that during election, there may be 2 connection per node, which makes difficult to update node states by connectionFailed/connectionClosed events. timeoutExpired & peerBroken are dropped as they are unused for the moment. A new API should be designed so that connectionClosed know the reason of the close. BROKEN state becomes unused. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2732 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 17 Jan, 2011 1 commit
-
-
Olivier Cros authored
In order to prepare the eggification of the different neo parts, we created a new neo/lib module, containing all of the main neo's functions. It allows to make neo a virtual namespace, and so not containing module code anymore. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2615 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Nov, 2010 1 commit
-
-
Vincent Pelletier authored
Those responses are implemented using Error packets. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2418 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Feb, 2010 2 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1576 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Almost any use of packet was to retreive the msg_id of the request and pass it to answer(). In storage's replicator, critical TIDs are indexed with UUID instead of remote connection ID (full replicator review required). In admin node, expected answers are still queued with the msg_id but it seems useless as no concurrent queries should happen. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1569 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Jan, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1538 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Oct, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1362 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Oct, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1358 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Oct, 2009 3 commits
-
-
Grégory Wisniewski authored
prefix from everywhere. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1350 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1343 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@1341 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Aug, 2009 2 commits
-
-
Vincent Pelletier authored
Make it possible to request current primary master from neoctl (neoctl command support & API entry, admin node support). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1135 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1133 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1037 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
- reusable library (neoctl.py) - console front-end (app.py) git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1015 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 22 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@946 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 21 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
Fix neoctl when a node is only known by its UUID (for example, it's present in the partition table but never conencted to primary master). git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@900 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 20 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@883 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 08 Jul, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@823 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Jul, 2009 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@780 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 29 Jun, 2009 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@710 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Jun, 2009 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@699 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Jun, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@667 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Jun, 2009 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@662 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 22 Jun, 2009 1 commit
-
-
Grégory Wisniewski authored
to RUNNING state when requested by the admin node. This feature can be disabled by setting neo.master.ENABLE_PENDING_NODES to False. The neoctl syntax is : neoctl add (all | UUID+) and display UUIDs of added storage nodes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@651 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 May, 2009 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@549 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 25 May, 2009 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@539 71dcc9de-d417-0410-9af5-da40c76e7ee4
-