From: Eric Wong Date: Thu, 23 May 2019 09:36:56 +0000 (+0000) Subject: doc: xcpdb: update to reflect the current state X-Git-Tag: v1.2.0~244 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6d60c03c298526713eff379fc339ccb030e32630;p=public-inbox.git doc: xcpdb: update to reflect the current state It is no longer a wrapper around copydatabase(1), since copydatabase did not recover from DatabaseModifiedError. --- diff --git a/Documentation/public-inbox-xcpdb.pod b/Documentation/public-inbox-xcpdb.pod index 4ff51867..c47500b6 100644 --- a/Documentation/public-inbox-xcpdb.pod +++ b/Documentation/public-inbox-xcpdb.pod @@ -8,13 +8,11 @@ public-inbox-xcpdb - copy Xapian DBs (for format upgrades) =head1 DESCRIPTION -public-inbox-xcpdb is a wrapper for L for +public-inbox-xcpdb is similar to L for upgrading to the latest database format supported by Xapian -(e.g. "glass" or "honey"). - -It locks the inbox and prevents other processes such as -L and L from -writing while it operates. +(e.g. "glass" or "honey"), but is designed to tolerate and +recover from Xapian database modifications from +L or L. This is intended for upgrading the database format used by Xapian. It DOES NOT upgrade the schema used by the @@ -29,6 +27,14 @@ public-inbox search interface (see L). The default config file, normally "~/.public-inbox/config". See L +=item XAPIAN_FLUSH_THRESHOLD + +The number of documents to update before committing changes to +disk. This environment is handled directly by Xapian, refer to +Xapian API documentation for more details. + +Default: 10000 + =back =head1 UPGRADING