]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib/cache: bump CACHE_VERSION docs-develop-keyt-jagcwb/deployments/3331
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 23 Feb 2024 09:07:35 +0000 (10:07 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 23 Feb 2024 09:07:35 +0000 (10:07 +0100)
Ideally we would've done that at once with increasing NSEC3 strictness,
i.e. in 5.7.1 + 6.0.6, as otherwise we could run into some recoverable
assertions until the records got removed or expired.
We at least do the bump now.

lib/cache/api.c

index bb627ea7cc4d43bf44fca3ba26276e20a8f49f18..f71a8d0f04c4c32c5d4b18fb5fd024b85e6b27cc 100644 (file)
@@ -40,7 +40,7 @@
 
 
 /** Cache version */
-static const uint16_t CACHE_VERSION = 6;
+static const uint16_t CACHE_VERSION = 7;
 /** Key size */
 #define KEY_HSIZE (sizeof(uint8_t) + sizeof(uint16_t))
 #define KEY_SIZE (KEY_HSIZE + KNOT_DNAME_MAXLEN)