LP#1931737: Allow the delay of symspell updates
authorMike Rylander <mrylander@gmail.com>
Fri, 13 May 2022 16:35:24 +0000 (12:35 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 25 Oct 2022 15:54:29 +0000 (11:54 -0400)
commite435b9a148d7f59bbb9568838d96e58d9900ad0c
tree15758462964a0165679bc9ae81463286de35a515
parent34d252daa7483a7394b2c969bb42ad461dc7319c
LP#1931737: Allow the delay of symspell updates

This commit adds a new internal flag, auto-created at the time of need,
to control whether record ingest will cause immediate updates to the
symspell dictionary, or if those updates will simply be recorded for
later incorporation.  Inline symspell dictionary updates can cause
record updates to be logically serialized, impacting the preformance of
other tools used for batch reingest.

pingest.pl is changed to allow an administrator to make use of this
feature via the --delay-symspell command line flag.

NOTE: includes a minor fixup from blake@mobiusconsortium.org for a
syntax error.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.dym_delayed_reify.sql [new file with mode: 0644]
Open-ILS/src/support-scripts/pingest.pl