LP#1931737: Allow the delay of symspell updates user/dyrcona/lp1931737-dym-deadlock-plus-pingest-rebase-signoff
authorMike Rylander <mrylander@gmail.com>
Fri, 13 May 2022 16:35:24 +0000 (12:35 -0400)
committerJason Stephenson <jason@sigio.com>
Tue, 28 Jun 2022 18:27:40 +0000 (14:27 -0400)
commitd35152393e423e370aeff418e72e03bb6c11541e
treebd0e31d8b1048dadf4a5e2813e3f33517ff0d67a
parent206e6e261c877864fb9d689b6223945f445af4f7
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.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
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