duckdb / duckdb/duckdb-java

Query timeout when going through HTTP Proxy since 1.4.4

オープン
#548 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
127
フォーク
80
平均マージ
13時間 49分
マージ済み PR(30日)
48

説明

Hi 👋

We're having issues with our `duckdb-java` setup after bumping the patch version from 1.4.2 to 1.4.4 (so technically the issue could be post-1.4.3).

Our setup is as follows:
* Java app in a docker container deployed on K8S
* cluster is air-gapped so we package the plugins (namely `httpfs`) in the docker image and deactivate remote plugin download
* queries are done against an S3-like server, through an HTTP proxy

Behaviour before 1.4.4 was fine, basic queries without filtering took a few seconds to run.

After 1.4.4 we observe the following:
* it works seemingly as well as before when querying the S3 server directly (same data, outside K8S)
* it times out when querying the S3 server through the HTTP proxy

The error is:

```
Caused by: java.sql.SQLException: IO Error: Connection timed out error for HTTP GET to '/my-bucket/?encoding-type=url&list-type=2&prefix=some-prefix

LINE 1: SELECT COUNT(1) FROM read_parquet("s3://my-bucket/some-prefix...
```

Has something changed on that front?

Perhaps it's a question more fit for https://github.com/duckdb/duckdb, but since it's a `duckdb-java` setup I figured it's better to start here.

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

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

調査の方向性

まず、issue に記載されている duckdb-java JDBC セットアップを再現し、HTTP プロキシ経由で S3 風のサーバーに対してバージョン 1.4.2 と 1.4.4 を比較します。ソースファイルやテストは指定されていません。代表的な read_parquet クエリがプロキシ経由でタイムアウトしなくなり、直接アクセス時の動作が維持されれば、issue は解決です。

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

評価

技術スタック
docker, java, kubernetes, sql
領域
databases, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
42/100

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

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