algolia / algolia/algoliasearch-client-java
CancellationException blocking whole service
- 主要言語
- Java
- スター
- 52
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
- 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)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
ソースファイルもテストも指定されていません。まず algoliasearch-client-java 3.16.5 で長時間実行される Kafka ワークロードを再現し、繰り返される HTTP リクエストを観察しながら 3.2.1 と比較してください。1 つの CancellationException によって後続のアイテム更新が妨げられなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, kafka
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100