Reviewed: https://reviews.mahara.org/4831 Committed: https://git.nzoss.org.nz/mahara/mahara/commit/f7194ce1c0c47c9da1b69026e61b71f9024b1a86 Submitter: Robert Lyon (<email address hidden>) Branch: master
commit f7194ce1c0c47c9da1b69026e61b71f9024b1a86 Author: Aaron Wells <email address hidden> Date: Tue Jun 9 18:00:47 2015 +1200
More robust handling of Elasticsearch bulk operations
Bug 1457712. This patch accomplishes four main things:
1. Sets a limit on the number on the number of documents per Elasticsearch bulk request.
2. Doesn't delete records from the queue table until after they have been successfully sent
3. If a bulk request fails, later retries the records individually
4. Performs deletion in bulk
Change-Id: I9ac5e3a33b473e256fdf331800dc60101c126dcc
Reviewed: https:/ /reviews. mahara. org/4831 /git.nzoss. org.nz/ mahara/ mahara/ commit/ f7194ce1c0c47c9 da1b69026e61b71 f9024b1a86
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit f7194ce1c0c47c9 da1b69026e61b71 f9024b1a86
Author: Aaron Wells <email address hidden>
Date: Tue Jun 9 18:00:47 2015 +1200
More robust handling of Elasticsearch bulk operations
Bug 1457712. This patch accomplishes four main things:
1. Sets a limit on the number on the number of documents
per Elasticsearch bulk request.
2. Doesn't delete records from the queue table until
after they have been successfully sent
3. If a bulk request fails, later retries the records
individually
4. Performs deletion in bulk
Change-Id: I9ac5e3a33b473e 256fdf331800dc6 0101c126dcc