[Nepomuk] Review Request: DMM: Auto-commit after each data manipulation statement

Vishesh Handa me at vhanda.in
Fri Dec 7 19:51:27 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107630/
-----------------------------------------------------------

Review request for Nepomuk and Sebastian Trueg.


Description
-------

    With the ResourceMerger rewrite we no longer push one statement at a
    time. We now push them in one large statement. This has been shown to
    cause transaction deadlocks in virtuoso. It is recommended to set
    log_enable( 3 ) in order to auto commit after each data manipulation
    command.
    
    Ideally we should have proper transaction support and each command in
    the data management model should be a separate transaction. However,
    this will have to do until we figure out how to do that.


Diffs
-----

  services/storage/datamanagementmodel.cpp 4568e49 

Diff: http://git.reviewboard.kde.org/r/107630/diff/


Testing
-------

Still testing to see if I receive any transaction deadlocked errors.


Thanks,

Vishesh Handa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20121207/d2f1a427/attachment.html>


More information about the Nepomuk mailing list