- 30 Jul, 2014 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
The only purpose of committing during import is to not restart from the beginning in case of interruption.
-
Julien Muchembled authored
If not implemented, this should not result in a fatal error that kills the storage. Instead of that, a new error packet is sent so that the exception is raised in the client.
-
Julien Muchembled authored
-
- 25 Jul, 2014 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 24 Jul, 2014 4 commits
-
-
Julien Muchembled authored
That seems too verbose now but it was difficult to know the ports of nodes when only warnings were output.
-
Julien Muchembled authored
Of course, neoctl should only connect to the admin, but in case of user mistake the queried node should not die. Ideally, all other commands should be checked.
-
Julien Muchembled authored
It was broken since review of logging (commit 1fce5cc4).
-
Julien Muchembled authored
_getPartition optimization can't be done at class level and properties hide instance attribute so implement laziness in __getattr__
-
- 22 Jul, 2014 1 commit
-
-
Julien Muchembled authored
This is not a valid place to call app.newTask
-
- 08 Jul, 2014 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
The following 3 methods are renamed: unlockData -> releaseData storeData -> holdData _storeData -> storeData and StorageOperationHandler use the new storeData instead of the old one.
-
- 04 Jul, 2014 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
For the moment, this is only useful for debugging.
-
Julien Muchembled authored
Transaction manager uses a new getLastObjectTID method instead of getObjectHistory, because the latter fetches the data and this is a waste of time here. Similarly, minimize SQL work in getObject if the object can't be found.
-
Julien Muchembled authored
Although it's a warning for developers, it's only informational for users so lower severity in order not to frighten them.
-
Julien Muchembled authored
-
- 26 Jun, 2014 1 commit
-
-
Julien Muchembled authored
-
- 24 Jun, 2014 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
- Fix case of empty values: there's no reason to do anything special for them. - Do not warn about multiple level of indirection to get data serial. With the current structure of tables, this does not cause significant performance issue as it did before.
-
- 20 Jun, 2014 3 commits
-
-
Julien Muchembled authored
Export: - Remove leftover warning about a bug that was fixed in commit e76af297 - In neomigrate script, open NEO storage read-only. - IStorageIteration is already implemented. Import: - Review comments. - In neomigrate script, warn that IStorageRestoreable is not implemented. - Do not call 'close' method on source iterator. BaseStorage does not do it and this is not part of ZODB API. In the case of FileStorage, resource are freed automatically during garbage collection.
-
Julien Muchembled authored
This is more realistic than testing with a single partition, in particular when there are more storage nodes that copies.
-
Julien Muchembled authored
-
- 19 Jun, 2014 4 commits
-
-
Julien Muchembled authored
There is simply no way to guess data serials and instead of producing random values, the only solution is to retrieve the values from storages. There are still differences for data serials between FileStorage and NEO: - NEO always resolves to original serial, to avoid any indirection (which slightly speeds up undo at the expense of a more complex pack code) - NEO does not make any difference between object deletion and creation undone (data serial always null in storage) It has to be decided whether NEO implementation should be changed about this. Apart from that, conversion database back from NEO should be fixed. testExportFileStorageBug passes and there was in fact no FileStorage bug. Another change is that iterator does not trash the client cache anymore.
-
Julien Muchembled authored
-
Julien Muchembled authored
- _[gs]etPackTID accessors implementation is not backend-specific so move them to superclass - _getObjectLength method is useless since data_tid always contains the wanted information, regardless the contents of value_tid column
-
Julien Muchembled authored
-
- 05 Jun, 2014 1 commit
-
-
Julien Muchembled authored
Sometimes, the tested cluster reacts so quickly that a new primary master arised before we test that at some point, there is no primary master.
-
- 04 Jun, 2014 2 commits
-
-
Julien Muchembled authored
This fixes: Traceback (most recent call last): File "neo/tests/functional/testMaster.py", line 50, in testStoppingSecondaryMaster self.neo.expectDead(master) File "neo/tests/functional/__init__.py", line 615, in expectDead self.expectCondition(callback, *args, **kw) File "neo/tests/functional/__init__.py", line 509, in expectCondition 'History: %s' % opaque_history) AssertionError: Timeout while expecting condition. History: [False, False, False, False, False, False, False, False, False, False, False]
-
Julien Muchembled authored
See commit d9ab77b8
-
- 03 Jun, 2014 3 commits
-
-
Julien Muchembled authored
One entry should have been removed before v1.1
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 29 May, 2014 1 commit
-
-
Julien Muchembled authored
-
- 08 Jan, 2014 1 commit
-
-
Julien Muchembled authored
-
- 07 Jan, 2014 1 commit
-
-
Julien Muchembled authored
-