[PATCH] Make tdb record deletion circular-chain safe

Jeremy Allison jra at samba.org
Mon Oct 29 18:57:30 UTC 2018


On Thu, Oct 25, 2018 at 09:12:44PM +0200, Volker Lendecke via samba-technical wrote:
> Hi!
> 
> First a few prereqs, then a bigger patch with a pretty epic commit
> message. This goes on top of
> 
> https://lists.samba.org/archive/samba-technical/2018-October/130722.html
> 
> which is on its way to master thanks to Andreas.
> 
> Why all this tdb stuff? My goal is to get rid of the transactions in
> gencache_stabilize. This function is a major performance problem in
> larger installation that are busy writing into our clear-if-first
> tdbs. I've seen user-visible performance problems due to that in more
> than one installation.
> 
> This means that tdb must be rock solid against corrupt databases,
> because after a crash we will re-open a non-transactioned database
> that might have been left behind broken.
> 
> Review appreciated!

FYI, just finishing up the review for this. Loading
the last patch into my brain right now :-).



More information about the samba-technical mailing list