[bind10-dev] b10-xfrin fails to receive IXFR while b10-xfrout is processing AXFR

Michal 'vorner' Vaner michal.vaner at nic.cz
Thu Apr 4 06:54:47 UTC 2013


Good morning

On Wed, Apr 03, 2013 at 04:56:37PM +0900, Yoshitaka Aharen wrote:
> It seems that b10-xfrout locks database while putting AXFR; thus
> b10-xfrin fails to acquire lock of database to update zone.
> 
> Is it a known issue?

The reverse problem is known (eg. any write operation locks the database and you
can't read it until the write is done). I guess the reverse has similar reasons,
simply you can't have a write and read operation running on the same table at
the same time. My guess is sqlite3 tries to wait a short time if the other
transaction ends and if not, it reports the database is locked. I don't think
there's much we can do about it, though, it's inside sqlite3 itself.

We need some solution for this, possibly supporting another database backend.

With regards

-- 
Security warning: Do not expose this email to direct sunlight.
It may lead to undefined behaviour, including possible data or life loses.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130404/7ca7ce9f/attachment-0001.bin>


More information about the bind10-dev mailing list