Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

网络波动后导致获取连接失败

Open
#58 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp

Research direction

Start by tracing SessionPool.Reconnect and ExecuteClientOperationAsync, then inspect ConcurrentClientQueue.Take() using the reported InsertAsync path. Reproduce a DDNS address change during a connection and verify that the session pool can reconnect and recover instead of remaining empty or timing out.

Written by the indexing model from the issue text.

Description

Apache.IoTDB.SessionPoolDepletedException: SessionPool depletion detected: Reconnection failed
 ---> Apache.IoTDB.ReconnectionFailedException: Error occurs when reconnecting session pool. Could not connect to any server
   at Apache.IoTDB.SessionPool.Reconnect(Client originalClient, CancellationToken cancellationToken)
   at Apache.IoTDB.SessionPool.ExecuteClientOperationAsync[TResult](AsyncOperation`1 operation, String errMsg, Boolean retryOnFailure, Boolean putClientBack)
   --- End of inner exception stack trace ---
   at Apache.IoTDB.SessionPool.ExecuteClientOperationAsync[TResult](AsyncOperation`1 operation, String errMsg, Boolean retryOnFailure, Boolean putClientBack)
   at Apache.IoTDB.SessionPool.InsertRelationalTabletAsync(Tablet tablet)
   at Apache.IoTDB.TableSessionPool.InsertAsync(Tablet tablet)
Apache.IoTDB.SessionPoolDepletedException: SessionPool depletion detected: Connection pool is empty and wait time out(2500s)
   at Apache.IoTDB.ConcurrentClientQueue.Take()
   at Apache.IoTDB.SessionPool.ExecuteClientOperationAsync[TResult](AsyncOperation`1 operation, String errMsg, Boolean retryOnFailure, Boolean putClientBack)
   at Apache.IoTDB.SessionPool.InsertRelationalTabletAsync(Tablet tablet)
   at Apache.IoTDB.TableSessionPool.InsertAsync(Tablet tablet)

因为使用的DDNS,中途出现IP变化网络波动后就再也连不上了,有概率出现

Dominant language
C#
Stars
24
Forks
6
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iotdb-client-csharp

All issues in apache/iotdb-client-csharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.