• Julien Muchembled's avatar
    storage: defer commit when unlocking a transaction (-> better performance) · eaa07e25
    Julien Muchembled authored
    Before this change, a storage node did 3 commits per transaction:
    - once all data are stored
    - when locking the transaction
    - when unlocking the transaction
    
    The last one is not important for ACID. In case of a crash, the transaction
    is unlocked again (verification phase). By deferring it by 1 second, we
    only have 2 commits per transaction during high activity because all pending
    changes are merged with the commits caused by other transactions.
    
    This change compensates the extra commit(s) per transaction that were
    introduced in commit 7eb7cf1b
    ("Minimize the amount of work during tpc_finish").
    eaa07e25
Name
Last commit
Last update
neo Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
BUGS.rst Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
TESTS.txt Loading commit data...
TODO Loading commit data...
UPGRADE.rst Loading commit data...
ZODB3.patch Loading commit data...
importer.conf Loading commit data...
neo.conf Loading commit data...
neoadmin Loading commit data...
neoctl Loading commit data...
neolog Loading commit data...
neomaster Loading commit data...
neomigrate Loading commit data...
neostorage Loading commit data...
setup.py Loading commit data...