1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/nmbd
Volker Lendecke 1386200be5 gencache: Remove transaction-based tdb
At more than one large site I've seen significant problems due to
gencache_stabilize. gencache_stabilize was mainly introduced to
survive machine crashes with the cache still being in place. Given
that most installations crash rarely and this is still a cache, this
safety is overkill and causes real problems.

With the recent changes to tdb, we should be safe enough to run on
completely corrupted databases and properly detect errors. A further
commit will introduce code that wipes the gencache.tdb if such a
corruption is detected.

There is one kind of corruption that we don't properly handle:
Orphaned space in the database. I don't have a good idea yet how to
handle this in a graceful and efficient way during normal operations,
but maybe this idea pops up at some point.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2018-11-06 18:57:26 +01:00
..
asyncdns.c lib: Move sys_rw* to lib/util 2015-10-13 01:23:07 +02:00
nmbd_become_dmb.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_become_lmb.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_browserdb.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
nmbd_browsesync.c s3:nmbd: Fix size type in nmbd_browsesync.c 2018-03-20 23:16:16 +01:00
nmbd_elections.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_incomingdgrams.c fix uninitialised read in process_host_announce 2015-11-05 21:12:10 +01:00
nmbd_incomingrequests.c s3: nmbd: Fix strict overflow checking compiler warning. 2018-04-05 23:05:39 +02:00
nmbd_lmhosts.c libnbt: lmhosts xfile->stdio 2016-12-11 11:17:24 +01:00
nmbd_logonnames.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_mynames.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_namelistdb.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
nmbd_namequery.c
nmbd_nameregister.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_namerelease.c
nmbd_nodestatus.c
nmbd_packets.c libnmb: Move "read_packet" to nmbd 2018-01-24 05:48:19 +01:00
nmbd_processlogon.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_proto.h nmbd: xfile->stdio 2016-12-11 11:17:24 +01:00
nmbd_responserecordsdb.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
nmbd_sendannounce.c s3: nmbd: Stop nmbd network announce storm. 2018-09-19 22:25:05 +02:00
nmbd_serverlistdb.c lib: Pass mem_ctx to cache_path() 2018-08-17 14:28:51 +02:00
nmbd_subnetdb.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_synclists.c nmbd: xfile->stdio 2016-12-11 11:17:24 +01:00
nmbd_winsproxy.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd_winsserver.c lib: Pass mem_ctx to state_path() 2018-08-17 11:30:11 +02:00
nmbd_workgroupdb.c Convert all uses of uint8/16/32 to _t in nmbd and the include file. 2015-05-01 19:15:10 +02:00
nmbd.c gencache: Remove transaction-based tdb 2018-11-06 18:57:26 +01:00
nmbd.h nmbd: xfile->stdio 2016-12-11 11:17:24 +01:00
wscript_build s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only 2016-12-04 16:35:22 +01:00