An error occurred fetching the project authors.
- 17 Jan, 2012 2 commits
-
-
Vincent Pelletier authored
-
Julien Muchembled authored
Storage.importFrom is changed for resumable imports.
-
- 10 Jan, 2012 1 commit
-
-
Julien Muchembled authored
- Do not fetch data from outdated/discarded cells. - Do not return more than transactions than requested by 'limit' parameter. Anyway, all results above this 'limit' could contain holes.
-
- 09 Jan, 2012 3 commits
-
-
Julien Muchembled authored
This fixes testStorageReconnectDuring{Transaction,Undo}Log unit tests. The change in testStorageReconnectDuringTransactionLog fixes a bug in the test itself. 'c.root()._p_serial' returned ZERO_TID. Application.undo is also updated so that 'waitResponses' do not use 'setHandlerData' anymore.
-
Julien Muchembled authored
This is another fix to commit 4720ba33.
-
Vincent Pelletier authored
-
- 06 Jan, 2012 1 commit
-
-
Julien Muchembled authored
Keyword arguments are kept internally by the handler switcher, which passes them to the handler when the peer answers. This will be required by new replicator, so that 'setUnfinishedTIDList' receives the list of outdated partitions at the time the 'AskUnfinishedTransactions' packet was sent.
-
- 09 Nov, 2011 1 commit
-
-
Julien Muchembled authored
-
- 26 Oct, 2011 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
Also simplify some code by using some new Python syntax.
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 11 Oct, 2011 2 commits
-
-
Julien Muchembled authored
- Change protocol to use SHA1 for all checksums: - Use SHA1 instead of CRC32 for data checksums. - Use SHA1 instead of MD5 for replication. - Change DatabaseManager API so that backends can store raw data separately from object metadata: - When processing AskStoreObject, call the backend to store the data immediately, instead of keeping it in RAM or in the temporary object table. Data is then referenced only by its checksum. Without such change, the storage could fail to store the transaction due to lack of RAM, or it could make tpc_finish step very slow. - Backends have to store data in a separate space, and remove entries as soon as they get unreferenced. So they must have an index of checksums in object metadata space. A new '_uncommitted_data' backend attribute keeps references of uncommitted data. - New methods: _pruneData, _storeData, storeData, unlockData - MySQL: change vertical partitioning of 'obj' by having data in a separate 'data' table instead of using a shortened 'obj_short' table. - BTree: data is moved from '_obj' to a new '_data' btree. - Undo is optimized so that backpointers are not required anymore to fetch data: - The checksum of an object is None only when creation is undone. - Removed DatabaseManager methods: _getObjectData, _getDataTIDFromData - DatabaseManager: move some code from _getDataTID to findUndoTID so that _getDataTID only has what's specific to backend. - Removed because already covered by ZODB tests: - neo.tests.storage.testStorageDBTests.StorageDBTests.test__getDataTID - neo.tests.storage.testStorageDBTests.StorageDBTests.test__getDataTIDFromData
-
Julien Muchembled authored
This changes how NEO stores undo information and how it is transmitted on the network.
-
- 16 Sep, 2011 1 commit
-
-
Julien Muchembled authored
-
- 15 Sep, 2011 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
In particular, this fixes history tab on recent Zope.
-
- 31 Aug, 2011 3 commits
-
-
Julien Muchembled authored
A ConflictError is raised instead. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2811 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2810 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2809 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Jun, 2011 1 commit
-
-
Julien Muchembled authored
This fixes a regression introduced by implementation of IMVCCStorage in r2532. On recent ZODB, this fixes a severe performance issue. With ZODB 3.4, objects were never invalidated, which was even worse. This fixes includes compatibility code for ZODB 3.4 so that each connection has its own NEOStorage instance. The DB's storage is changed to always consider the last revision of objects. IMVCCStorage seems too complicated to me. Connection should be a better place to implement it (by extending/fixing the 'before' attribute). So we have decided that NEOStorage stops implementing IMVCCStorage. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2802 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 31 May, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2771 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 30 May, 2011 3 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2770 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2766 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
- make 'undo' compatible with ZODB 3.9.x - fix load of original version of object git-svn-id: https://svn.erp5.org/repos/neo/trunk@2765 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 May, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2763 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 12 Apr, 2011 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2712 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
- Stop using a list of (in)validated tid (hence removal of RevisionIndex), because it can't work in all cases and would even cause memory leaks. For example, this bug could lead to ConflictError with a single client. Fixit it also requires that database backends always return the next serial. - Several performance improvements. The most important one is when the latest version of an object is cached: it inherits the access counter of the previous one (for the same oid), which gets in turn its counter reset. - Do not waste CPU evaluating the real size taken by an entry in memory. Just use 'len' on the value (which is always a pickle data, i.e. a string). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2711 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 07 Apr, 2011 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2706 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
-
- 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
-
- 25 Jan, 2011 6 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2643 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move queue flushing to dispatcher. Use forget_queue in "undo" as well. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2642 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Instead, forget them at dispatcher level, and empty queue (in case answers were received but not handled yet). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2641 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2640 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2639 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2638 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Jan, 2011 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2636 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Breakage introduced in r2632. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2634 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 21 Jan, 2011 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2632 71dcc9de-d417-0410-9af5-da40c76e7ee4
-