Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Should I retry if get error "hinted handoff queue not empty"?

オープン
#571 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
documentation

調査の方向性

まず Python クライアントの書き込みパスと、issue に示されている HTTP 500 レスポンスボディの処理を確認し、次にその動作を、リンクされている InfluxDB Enterprise の hinted-handoff に関するガイダンスと比較します。このレスポンスが書き込みの失敗を示すのか、また呼び出し元が再試行すべきなのかを明確に文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

We are using InfluxDB Enterprise, I can understand how hinted handoff queue works.

And if we see this error "hinted handoff queue not empty" in the data node log, it is fine.

Because based on this

This error is informational only and does not necessarily indicate a problem in the cluster. It indicates that the node handling the write request currently has data in its local hinted handoff queue for the destination node. Coordinating nodes will not attempt direct writes to other nodes until the hinted handoff queue for the destination node has fully drained.

So the data is still in current data node, and just won't sync to the other node until the hinted handoff queue in the other node clear, it will try later.

Here is my question, we are using this influxdb-client-python to write data. I am wondering if we get the same error from this Python client which returns from data node. In this case, it means the data has not been written to InfluxDB successfully and need retry, right? Thanks!

(500)
Reason: Internal Server Error
HTTP response headers: ...
HTTP response body: b'{"error":"write failed: hinted handoff queue not empty"}\n'
主要言語
Python
スター
792
フォーク
186
平均マージ
3時間 2分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

influxdata/influxdb-client-python のほかの issue

influxdata/influxdb-client-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。