LP#1931737: Allow the delay of symspell updates user/miker/lp1931737-dym-deadlock-plus-pingest-rebase
authorMike Rylander <mrylander@gmail.com>
Fri, 13 May 2022 16:35:24 +0000 (12:35 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 17 Jun 2022 13:19:15 +0000 (09:19 -0400)
commit8bf982aff18eb11814756ed6fecd4264d1e78e5f
tree19929724f78b295aa0d505ffef41f2915962da88
parent4dda1db5eb26e9fa652d70d20831c5323132e255
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>
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