Indexation must be done at the end of the process, when all authorities have been deleted, not for each authority record.
Created attachment 132991 [details] [review] Bug 30459: Make BatchDeleteAuthority update the index in one request Same as bug 30460 for authorities
Created attachment 134399 [details] [review] Bug 30459: Make BatchDeleteAuthority update the index in one request Same as bug 30460 for authorities
Created attachment 134647 [details] [review] Bug 30459: Make BatchDeleteAuthority update the index in one request Same as bug 30460 for authorities 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]