summaryrefslogtreecommitdiffstats
path: root/source3/lib/dbwrap/dbwrap_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* move the dbwrap library to the top levelMichael Adam2012-05-141-225/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104
* s3-dbwrap: A void function can not return a valueAndrew Bartlett2012-04-231-1/+1
| | | | | | | | | Only non-gcc compilers seem to notice this as an error. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 05:58:52 CEST 2012 on sn-devel-104
* s3: Implement db_id for dbwrap_cacheVolker Lendecke2012-04-211-0/+9
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 21 13:46:00 CEST 2012 on sn-devel-104
* s3: Initialize "stored_callback" in dbwrap_cacheVolker Lendecke2012-04-211-0/+1
| | | | This should fix one of the recent flaky tests
* s3: Fix Coverity ID 2745 and 2746: FORWARD_NULLVolker Lendecke2012-04-191-11/+15
| | | | We can assume that the rbt dbs are around
* s3: Add dbwrap_try_fetch_lockedVolker Lendecke2012-04-171-0/+1
| | | | | | | | | | This is designed to spread the load on individual ctdb records to allow upper layers to do backoff mechanisms. In the ctdb case, do not get the record if a local lock is already taken. If we are not dmaster, do at most one migrate attempt. For the tdb case, this is a nonblocking fetch_locked. If someone else has the lock, give up.
* s3: Add dbwrap_cacheVolker Lendecke2012-04-171-0/+210
This is a caching layer for the notify database and potentially for the brlock database. It caches the parse_record operation as long as the underlying seqnum does not change.