<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div style="orphans: 2; widows: 2;" class="">Given the nature of sqlite file locking, is there some sort of “retry” functionality in the works or already implemented that would allow a failed NSUPDATE to be retried in the case that the DB file is currently being held in an exclusive lock? Currently, it looks like the code here: <a href="https://github.com/PowerDNS/pdns/blob/6b853804b4c06fd39f1e26e216e7443b781570f6/pdns/backends/gsql/gsqlbackend.cc#L1289" class="">https://github.com/PowerDNS/pdns/blob/6b853804b4c06fd39f1e26e216e7443b781570f6/pdns/backends/gsql/gsqlbackend.cc#L1289</a> will simply throw an error message if the DB is currently locked. I tested this to confirm and received: "<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">GSQLBackend unable to feed record: Error while retrieving SQLite query results: database is locked; Sending ServFail!</span><font color="#333333" face="Arial, sans-serif" class=""><span style="font-size: 14px;" class="">”</span></font></div><div class=""><br class=""></div><div class="">Wouldn’t the chances of this failure be relatively high if there were say, hundreds of NSUPDATE requests to a PDNS server backed by sqlite3 every second? What happens when two NSUPDATE requests occur at the exact same time?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">—Angelo</div></body></html>