From 03aa0e9fd11d2b5cf0b7352310da4f7748b76bbb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 7 Nov 2020 10:56:56 +0000 Subject: extsearchidx: quiet warning for unindexed `d' messages "deleted" messages (via -learn ) in the source inboxes are likely to already be unindexed, so avoid triggering needless warnings about the spam message being missing. --- lib/PublicInbox/ExtSearchIdx.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm index 9da42538..2bb9afce 100644 --- a/lib/PublicInbox/ExtSearchIdx.pm +++ b/lib/PublicInbox/ExtSearchIdx.pm @@ -164,7 +164,8 @@ sub do_finalize ($) { } elsif (exists $req->{new_smsg}) { # totally unseen messsage index_unseen($req); } else { - warn "W: ignoring delete $req->{oid} (not found)\n"; + # `d' message was already unindexed in the v1/v2 inboxes, + # so it's too noisy to warn, here. } } -- cgit v1.2.3-24-ge0c7