Skip to content
  • Aaron Wells's avatar
    More robust handling of Elasticsearch bulk operations · f7194ce1
    Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
    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
    f7194ce1