algoliasearch-client-java icon indicating copy to clipboard operation
algoliasearch-client-java copied to clipboard

CancellationException blocking whole service

Open CedricJezequel opened this issue 3 years ago • 0 comments

  • Algolia Client Version: 3.16.5
  • Language Version: JAVA

Description

Currently we have a service implemented with vert.x for processing parallel tasks which consume a Kafka queue for injecting items in an Algolia index (~100 req/15min). During last development, we took the opportunity to upgrade algolia-core and algolia-apache depencendies from 3.2.1 to 3.16.5, and since this upgrade we observed CancellationException, which completely broke our service : since one HTTP call to Algolia with your framework had this exception, others will also have it and so can not update items anymore. The only solution we had was to restart the entire service. Before having a response from your team, we delivered a new version from our service, using v3.2.1 : no CancellationException seen since this update.

Steps To Reproduce

  1. Consume Kafka queue between 1 (~10 000 req) and 3 days (~30 000 req)

CedricJezequel avatar Jul 26 '22 12:07 CedricJezequel