From: "Eric Wong (Contractor, The Linux Foundation)" <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 0/4] incremental indexing support for mirrors
Date: Wed, 4 Apr 2018 21:24:56 +0000 [thread overview]
Message-ID: <20180404212500.1859-1-e@80x24.org> (raw)
Incremental indexing is necessary for people running mirrors
via "git-fetch", but not for people running inboxes with -watch
or -mda.
There's also bugfix for the corner case where several messages
share a to-be-removed Message-ID.
Eric Wong (Contractor, The Linux Foundation) (4):
init: s/GIT_DIR/REPO_DIR/ in usage
import: rewrite less history during purge
v2: support incremental indexing + purge
v2writable: do not modify DBs while iterating for ->remove
MANIFEST | 1 +
lib/PublicInbox/Import.pm | 28 ++--
lib/PublicInbox/Msgmap.pm | 5 +
lib/PublicInbox/V2Writable.pm | 323 +++++++++++++++++++++++++++++++-----------
script/public-inbox-convert | 2 +-
script/public-inbox-index | 15 +-
script/public-inbox-init | 2 +-
t/v2mirror.t | 176 +++++++++++++++++++++++
t/v2reindex.t | 10 +-
t/v2writable.t | 3 +-
10 files changed, 456 insertions(+), 109 deletions(-)
create mode 100644 t/v2mirror.t
--
EW
next reply other threads:[~2018-04-04 21:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-04 21:24 Eric Wong (Contractor, The Linux Foundation) [this message]
2018-04-04 21:24 ` [PATCH 1/4] init: s/GIT_DIR/REPO_DIR/ in usage Eric Wong (Contractor, The Linux Foundation)
2018-04-04 21:24 ` [PATCH 2/4] import: rewrite less history during purge Eric Wong (Contractor, The Linux Foundation)
2018-04-04 21:24 ` [PATCH 3/4] v2: support incremental indexing + purge Eric Wong (Contractor, The Linux Foundation)
2018-04-04 21:25 ` [PATCH 4/4] v2writable: do not modify DBs while iterating for ->remove Eric Wong (Contractor, The Linux Foundation)
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://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180404212500.1859-1-e@80x24.org \
--to=e@80x24.org \
--cc=meta@public-inbox.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.
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).