apache / apache/iotdb

[Bug] v1.0.0 Java Session.open() exception

オープン
#8,462 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Version


org.apache.iotdb
iotdb-session
1.0.0

### Describe the bug and provide the minimal reproduce step


org.apache.iotdb
iotdb-session
1.0.0

new Session.Builder()
.version(Version.enum)
.build()
the Version.enum only has Version.V_0_12, Version.V_0_13
default is SessionConfig.DEFAULT_VERSION = Version.V_0_13

### What did you expect to see?

Make 1.0.0 Session.open() successfully and Session‘s function is work well

### What did you see instead?

org.apache.iotdb.rpc.IoTDBConnectionException: Fail to reconnect to server. Please check server status.127.0.0.1:6667

at org.apache.iotdb.session.SessionConnection.(SessionConnection.java:102)
at org.apache.iotdb.session.Session.constructSessionConnection(Session.java:428)
at org.apache.iotdb.session.Session.open(Session.java:394)
at org.apache.iotdb.session.Session.open(Session.java:377)

### Anything else?

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

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

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

調査の方向性

Start with the minimal reproduction using the 1.0.0 iotdb-session dependency and inspect Session.open() and SessionConnection.java at the reported stack-trace lines. Compare the available Version values and the default SessionConfig.DEFAULT_VERSION, then verify that a 1.0.0 session can connect successfully to the intended server; no test file is mentioned in the issue.

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

評価

技術スタック
java
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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