apache / apache/iotdb-client-csharp
网络波动后导致获取连接失败
- Ngôn ngữ chính
- C#
- Star
- 24
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```
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变化网络波动后就再也连不上了,有概率出现
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp
- Lĩnh vực
- databases, networking
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100