Skip to content

Commit f85c933

Browse files
authored
Comment out assert in kvstore for overhead lut (#1745)
Until we found out why the assert is flaky, let's comment it out. We can live with this overhead lut being slightly wrong, but we don't want the assert to abort the program. Fixes #1657. Signed-off-by: Viktor Söderqvist <[email protected]>
1 parent d588bb3 commit f85c933

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/kvstore.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ void kvstoreRelease(kvstore *kvs) {
319319
if (metadata->rehashing_node) metadata->rehashing_node = NULL;
320320
hashtableRelease(ht);
321321
}
322-
assert(kvs->overhead_hashtable_lut == 0);
322+
/* TODO: The assert below causes a flaky unit test. Find out why. */
323+
/* assert(kvs->overhead_hashtable_lut == 0); */
323324
zfree(kvs->hashtables);
324325

325326
listRelease(kvs->rehashing);

0 commit comments

Comments
 (0)