- 29 Sep, 2011 1 commit
-
-
Julien Muchembled authored
With the change in TransactionManager, there's 1 comparison less.
-
- 09 Sep, 2011 1 commit
-
-
Julien Muchembled authored
-
- 08 Sep, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2835 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Sep, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2823 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 03 Sep, 2011 1 commit
-
-
Julien Muchembled authored
testVerificationCommitUnfinishedTransactions was failing randomly depending on whether the cluster was started before or after the storage initializing connection with the master. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2817 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 21 Jun, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2795 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 15 Jun, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2785 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 09 Jun, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2773 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 02 May, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2749 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 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
-
- 20 Apr, 2011 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2722 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2720 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Apr, 2011 4 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2707 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2706 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2705 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
The node is already displayed in 'repr' of the transaction. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2704 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Mar, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2686 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 21 Mar, 2011 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2677 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
- remove useless calls to 'bool' - small optimizations in lib.protocol.Packet.__init__ - code simplification in IdentificationHandler - fix typo in docstring - neo/tests/__init__.py: 2 lines were indented with 2-spaces instead of 4-spaces git-svn-id: https://svn.erp5.org/repos/neo/trunk@2671 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 25 Feb, 2011 1 commit
-
-
Olivier Cros authored
In order to synchronise neo with slapos, it has to work perfectly with ipv4 and ipv6. This allows to integrate neo in erp5 and to prepare different buildout installations of neo. The protocol and connectors are no more generic but can now support IPv4 and IPv6 connections. We adopted a specific way of development which allow to easily add new protocols in the future. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2654 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 08 Feb, 2011 2 commits
-
-
Grégory Wisniewski authored
- Storage nodes start to replicate a partition when all transactions that were pending when the oudated partition was added are committed. - Transactions are registered by the master from the tpc_begin step. Signed-off-by:
Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2649 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Signed-off-by:
Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2645 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 18 Jan, 2011 1 commit
-
-
Olivier Cros authored
Bugs corrections with cancelling tabulations and misplaced backslashes. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2616 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
-
- 11 Jan, 2011 2 commits
-
-
Grégory Wisniewski authored
- AnswerInformationLocked give ttid instead of tid - Master transaction manager always use ttid in data structures - It's no more makes sense to check if the tid is greater than the last generated as it never comes back from a storage, just check if the ttid is well known by the transaction manager. - Rename all tid variable that now hold a ttid - Transaction manager's queue contains ttids but the corresponding tids are increasing to keep commit order. - Adjust tests git-svn-id: https://svn.erp5.org/repos/neo/trunk@2613 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2612 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 05 Jan, 2011 1 commit
-
-
Grégory Wisniewski authored
Add a test to ensure the admin is notified of connected/disconnected nodes during recovery. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2585 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 23 Dec, 2010 5 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2571 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This prevents doing pop(0)/insert(0, ...) needlessly on the first item. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2570 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Pop queued transaction from the beginning instead of end - Restore test for begin with a tid - Add test to check transactions unlocking mechanism - Add/fix comments git-svn-id: https://svn.erp5.org/repos/neo/trunk@2569 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2566 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2565 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 22 Dec, 2010 2 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2564 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2563 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 14 Dec, 2010 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2535 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This allows parallel execution of tpc_begin, stores & related conflict resolution and tpc_vote for different transactions. This requires an extension to ZODB allowing to keep TID secret until tpc_finish (ie, so that it doesn't require tpc_vote to return tid for each stored object). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2534 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This ensures invalidations are sent in strict ascending TID values order. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2530 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 10 Dec, 2010 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2509 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 09 Dec, 2010 1 commit
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2498 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Dec, 2010 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2478 71dcc9de-d417-0410-9af5-da40c76e7ee4
-