We should call ModAuthority that will index in background mode, then update the search engine index once all the authority records have been modified.
Created attachment 132990 [details] [review] Bug 30464: Make BatchUpdateAuthority update the index in one request Same as bug 30465 for authorities
Created attachment 134400 [details] [review] Bug 30464: Make BatchUpdateAuthority update the index in one request Same as bug 30465 for authorities
Created attachment 134401 [details] [review] Bug 30464: (QA follow-up) Enqueue indexing Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 134649 [details] [review] Bug 30464: Make BatchUpdateAuthority update the index in one request Same as bug 30465 for authorities Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
I'm torn by these patches.. they all improve reliability/reduce the possibility of overwhelming elasticsearch.. but they do so at the detriment of zebra by delaying indexing. As the general movement seems to be towards ES I'm going to PQA regardless :|
Pushed to master for 22.05, thanks to everybody involved [U+1F984]