[Pvfs2-developers] DB transaction patch
Julian Martin Kunkel
Julian.Kunkel at web.de
Wed Jul 19 12:10:11 EDT 2006
Hi,
the attached patch adds a test for DB_AUTOCOMMIT to configure.
The patch includes all the previous patches to apply against the CVS version.
In case this transaction mode is usable the sync option can be set to
TroveMetaSync trans
In which the collection dbs do not sync and use transactions with the
autocommit flag. By default all dbs are opened with transaction mode (if
available) and later reopened without, if syncing or nosyncing is desired.
Later we could add a coalesce functionality. The storage dbs stay in
transaction mode all the time.
Also this patch adds checks to make sure in case no syncing is set that the
makro DBPF_DB_SYNC_IF_NECESSARY does not sync. Hopefully I got all the sync
spots in the code.
I think we should test the transaction mode on different systems to make sure
that the test and the implementation works.
Unfortunately there must be somewhere another deadlock in the code, but I will
look for it :)
I send the patches already that we could discuss about the modifications and
that you can try it out.
Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trove.patch
Type: text/x-diff
Size: 118291 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060719/a56ca216/trove-0001.bin
More information about the Pvfs2-developers
mailing list