summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap/dbwrap_cache.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17s3: Add dbwrap_try_fetch_lockedVolker Lendecke1-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.
2012-04-17s3: Add dbwrap_cacheVolker Lendecke1-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.