Hi all,

 

I'm re-indexing Elasticsearch and I notice occasionally Elasticsearch will
throw an exception when committing (e.g. Elasticsearch exception thrown:
Request), and Koha just ignores it.

 

That means that whole commit gets missed, so a default of 5000 records don't
get indexed. 

 

You can probably find those inconsistencies using
/usr/share/koha/bin/maintenance/compare_es_to_db.pl but that doesn't provide
you a method for indexing those missed records either.

 

Am I missing something obvious here? 

 

I'll need to look at increasing the verbosity to get more of the error
message, and I'll play around with some settings to make it so that the
Elasticsearch server doesn't thrown an error, but this seems weird to me. 

 

Perhaps we should have an automatic re-try, or at least a record of what
records failed to be committed, so that they can be manually retried via a
different mechanism?

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

Reply via email to