From 01357ab43ba32d9e0967226ed03106a4f2941f23 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 31 Aug 2021 11:21:26 +0000 Subject: [PATCH] lei/store: correctly delete entries from over Some of these errors were inadvertantly lost due to delayed error reporting in the past. --- lib/PublicInbox/LeiStore.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm index 0652137e..ab39043e 100644 --- a/lib/PublicInbox/LeiStore.pm +++ b/lib/PublicInbox/LeiStore.pm @@ -243,8 +243,8 @@ sub remove_docids ($;@) { my $eidx = eidx_init($self); for my $docid (@docids) { $eidx->idx_shard($docid)->ipc_do('xdb_remove', $docid); - $self->{oidx}->delete_by_num($docid); - $self->{oidx}->{dbh}->do(<{oidx}->delete_by_num($docid); + $eidx->{oidx}->{dbh}->do(<