]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/zimport: close transaction after importing batch
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 11 Apr 2022 10:14:50 +0000 (12:14 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 11 Apr 2022 10:14:50 +0000 (12:14 +0200)
commit69535e09732473fdffcdbc65cef7bc0525b39346
tree3855c58d857711d799baf969ac3cb4d7be267e11
parentb091d3d0f3796a335431f216d7ceb395eccc55da
daemon/zimport: close transaction after importing batch

I'm really sorry about this.  It's my regression in 5.5.0 (!1225)

Practical consequence was that the RW transaction was held open
until that instance did something with cache (and thus closed),
so any other instance would be frozen in the meantime if doing
anything non-read-only with cache (e.g. startup).
https://lists.nic.cz/hyperkitty/list/knot-resolver-users@lists.nic.cz/thread/6DOXXOA6ACEUBVYPUY3T2MLGIHWOMV6M/
NEWS
daemon/zimport.c