Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-16 | s3-dbwrap: Move "lock_order" initialization to db_open_xx | Volker Lendecke | 1 | -4/+2 | |
2012-01-18 | s3: Pass down lock_order to db_open_ctdb | Volker Lendecke | 1 | -1/+2 | |
2012-01-18 | s3: Enforce a lock order in dbwrap | Volker Lendecke | 1 | -0/+3 | |
This makes sure we do not deadlock from doing two dbwrap_fetch_locked in two processes in different orders. At open time, we assign a strict order to all databases. lock_order 1 will be locked first, lock_order 2 second. No two records of the same lock order may be locked at the same time. | |||||
2012-01-18 | s3: Add a "lock_order" argument to db_open | Volker Lendecke | 1 | -2/+17 | |
This will be used to enforce a lock hierarchy between the databases. We have seen deadlocks between locking.tdb, brlock.tdb, serverid.tdb and notify*.tdb. These should be fixed by refusing a dbwrap_fetch_locked that does not follow a defined lock hierarchy. | |||||
2011-12-08 | s3-dbwrap: Make dbwrap_fallback_wipe private | Volker Lendecke | 1 | -5/+0 | |
2011-12-08 | s3-dbwrap: Make dbwrap_fallback_parse_record private | Volker Lendecke | 1 | -3/+0 | |
We have the private fallback in dbwrap_parse_record anyway | |||||
2011-12-08 | s3-dbwrap: Make dbwrap_fallback_fetch private | Volker Lendecke | 1 | -3/+0 | |
2011-12-08 | s3: Fix some blank line endings | Volker Lendecke | 1 | -3/+3 | |
2011-10-11 | s3:dbwrap: add function dbwrap_wipe() | Gregor Beck | 1 | -0/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.h | Michael Adam | 1 | -0/+1 | |
2011-10-11 | s3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.h | Michael Adam | 1 | -0/+1 | |
2011-07-29 | s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/ | Michael Adam | 1 | -1/+1 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104 | |||||
2011-07-29 | s3:dbwrap: move db_is_local() from dbwrap.c to dbwrap_open.c | Michael Adam | 1 | -0/+27 | |
2011-07-29 | s3:dbwrap: move db_open() to a file dbwrap_open.c of its own. | Michael Adam | 1 | -0/+92 | |
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes. |