]> git.ipfire.org Git - thirdparty/pdns.git/commit
If deleteZone fails due to a backend exception, show it... 15160/head
authorMiod Vallat <miod.vallat@powerdns.com>
Fri, 14 Feb 2025 10:50:40 +0000 (11:50 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Fri, 14 Feb 2025 10:50:40 +0000 (11:50 +0100)
commit415a97ce57b09e5a01c1d4666cce1b28ddb82789
tree3d579dc30909a83d36013f3e85a7470c6f2f4e8a
parentcc7d8cd2a063b916ae39fcdb6ba5bff945c99a07
If deleteZone fails due to a backend exception, show it...

...rather than any further backend exception caused by
abortTransaction(), which will be much less helpful.

Using the sqlite backend on a full filesystem, pdnsutil delete-zone now
correctly reports "database or disk is full" instead of "cannot rollback
- no transaction is active" which no human can make sense of in this
situation.
pdns/pdnsutil.cc