]> Sergey Matveev's repositories - public-inbox.git/commit
search: avoid setting undef hashtable entries
authorEric Wong <e@80x24.org>
Sat, 25 Sep 2021 22:16:45 +0000 (22:16 +0000)
committerEric Wong <e@80x24.org>
Sun, 26 Sep 2021 00:06:26 +0000 (00:06 +0000)
commit69225ecae508b9bb83960ac51e38d7d5eade2a6a
treed50e0ef5ad5322b42f63d03ba0b4576908ae35cb
parent71f6861703fde6f6687b002cd15c38cb7ef4a028
search: avoid setting undef hashtable entries

`undef' entries still take up a slot in the hash table, and
cause the `exists' check to false-positive in ->cleanup_shards.
This should fully fix the (innocuous) messages introduced in
commit 63d7b8ce (daemons: revamp periodic cleanup task, 2021-09-23)
lib/PublicInbox/AdminEdit.pm
lib/PublicInbox/Inbox.pm
lib/PublicInbox/Search.pm