user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/7] index: disable --fast-noop on --reindex
  2020-12-25 10:21  5% [PATCH 0/7] index + extindex interaction improvements Eric Wong
@ 2020-12-25 10:21  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-12-25 10:21 UTC (permalink / raw)
  To: meta

These options make no sense when used together, just inform the
user and move on since it's probably harmless to continue.
---
 script/public-inbox-index | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/script/public-inbox-index b/script/public-inbox-index
index 91afac88..87893ef1 100755
--- a/script/public-inbox-index
+++ b/script/public-inbox-index
@@ -49,6 +49,9 @@ die "--jobs must be >= 0\n" if defined $opt->{jobs} && $opt->{jobs} < 0;
 if ($opt->{xapian_only} && !$opt->{reindex}) {
 	die "--xapian-only requires --reindex\n";
 }
+if ($opt->{reindex} && delete($opt->{'fast-noop'})) {
+	warn "--fast-noop ignored with --reindex\n";
+}
 
 # require lazily to speed up --help
 require PublicInbox::Admin;

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/7] index + extindex interaction improvements
@ 2020-12-25 10:21  5% Eric Wong
  2020-12-25 10:21  7% ` [PATCH 1/7] index: disable --fast-noop on --reindex Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-12-25 10:21 UTC (permalink / raw)
  To: meta

Some things which make -index less painful when auto-updating
external indices.

"public-inbox-extindex --all" itself is still painfully slow
with 50K inboxes, but I think that can only be used once for
initialization and -index can be relied on for all incremental
updates.


Eric Wong (7):
  index: disable --fast-noop on --reindex
  extsearchidx: delay SQLite availability checks
  extsearchidx: close DB handles after use if FD constrained
  index: do not attach inbox to extindex unless updated
  index: fix --no-fsync flag propagation to extindex
  v2writable: don't verify tip if reindexing
  index: filter out indexlevel=basic from extindex

 lib/PublicInbox/Admin.pm        |  1 +
 lib/PublicInbox/ExtSearchIdx.pm | 96 +++++++++++++++++++++------------
 lib/PublicInbox/SearchIdx.pm    |  2 +
 lib/PublicInbox/V2Writable.pm   | 36 +++++++++----
 script/public-inbox-index       | 27 ++++++----
 5 files changed, 109 insertions(+), 53 deletions(-)


^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-12-25 10:21  5% [PATCH 0/7] index + extindex interaction improvements Eric Wong
2020-12-25 10:21  7% ` [PATCH 1/7] index: disable --fast-noop on --reindex Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.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).