unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch removing messages from the index, when calling `new` two times in a row
@ 2015-04-21 16:09 Mayeu
  2015-04-23  3:49 ` David Bremner
  0 siblings, 1 reply; 15+ messages in thread
From: Mayeu @ 2015-04-21 16:09 UTC (permalink / raw)
  To: notmuch

Hi,

I have hit a weird behaviour with notmuch.

I recently saw a drop of the number of messages in my index, and after
doing a backup of the current state of the index, I am able to reproduce
this behaviour fairly consistently. ie: notmuch is purgin at least 50%
of its index of messages that are still in the maildir.

I do the following:

1. remove my notmuch database completely.
2. launching `notmuch new`:

   Found 42059 total files (that's not much mail).
   Processed 42059 total files in 3m 24s (205 files/sec.).
   Added 41331 new messages to the database.

3. launching `notmuch new` right after, without having done anything else
   on my Maildir folder:

   Cleaned up 5 of 156 directories (1m 9s remaining).                                                                                                   
   No new mail. Removed 22211 messages. Detected 378 file renames.

Then I can loop back to step 1 and reproduce the behaviour every single time.

If I keep a window with Notmuch Emacs in it, I can see some e-mail
disapearing, and search not returning result anymore after the second
notmuch new.

Is it a know bug? A feature that I do not understand? Anyway, this make
notmuch almost unusable right now, since I can't have acces to my full
e-mail history, and I endup with conversations with holes in them.

Regards,

-- 
Mayeu a.k.a Matthieu
http://6x9.fr
GPG: A016 F2D8 0472 1186 1B33  A419 22B1 0496 B00D A693

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-09-25 18:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21 16:09 Notmuch removing messages from the index, when calling `new` two times in a row Mayeu
2015-04-23  3:49 ` David Bremner
2015-04-23 12:04   ` Mayeu
2015-04-23 22:25     ` David Bremner
2015-04-24  9:29       ` Mayeu
2015-04-26 23:45         ` David Bremner
2015-08-02  9:04           ` [PATCH v2] cli/new: add more debugging output David Bremner
2015-08-02  9:18             ` Tomi Ollila
2015-08-04  6:48               ` test suite: add more debugging output for notmuch-new David Bremner
2015-08-04  6:48                 ` [PATCH 1/3] test: don't claim single message mbox support is going away David Bremner
2015-08-04  6:48                 ` [PATCH 2/3] cli/new: add more debugging output David Bremner
2015-08-04  6:48                 ` [PATCH 3/3] test: add debugging output to notmuch-new tests, mark 5 as broken David Bremner
2015-08-04  8:25                 ` test suite: add more debugging output for notmuch-new Tomi Ollila
2015-08-04 19:12                   ` David Bremner
2015-09-25 18:19         ` Notmuch removing messages from the index, when calling `new` two times in a row Jani Nikula

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).