unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Navin Kabra <navin@smriti.com>, notmuch@notmuchmail.org
Subject: Re: Inconsistency between tag database and notmuch search
Date: Fri, 17 Mar 2017 09:37:34 -0300	[thread overview]
Message-ID: <8737ecm641.fsf@tethera.net> (raw)
In-Reply-To: <86efxw2pj2.fsf@smriti.com>

Navin Kabra <navin@smriti.com> writes:

>
> Specifically, I have a few threads/messages that don't have any tags,
> but still show up in notmuch search for those tags. And using notmuch
> tag to remove (or add) any tags on these threads has no effect. Doing
> a `notmuch compact` does not fix this issue.

0) As a first step, run xapian-check, something like

% xapian-check ~/Maildir/.notmuch/xapian

If your database is corrupted, there's not much notmuch can do about it
(except maybe make things worse).  I would think that compact would have
detected any corruption, but you never know.

>
>     ~$ notmuch search thread:0000000000058ca0 and tag:inbox
>     thread:0000000000058ca0  February 22 [1/1] Mandar Joshi; 
>     Announcing TiECon Pune 2017 - Pune's largest, most energizing 
>     startup event! ()

1) Can you also see the problem by looking at individual message-ids?,
   e.g. using notmuch show

2) In particular Does notmuch dump generate the correct output? If so,
   then dump your tags, rebuild your database, and reload the tags is
   one option.

  reply	other threads:[~2017-03-17 12:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17  9:58 Inconsistency between tag database and notmuch search Navin Kabra
2017-03-17 12:37 ` David Bremner [this message]
2017-03-20  7:57   ` Navin Kabra
2017-03-20  9:59     ` David Bremner
2017-03-20 10:13       ` Navin Kabra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737ecm641.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=navin@smriti.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).