[Bug] 2.0.4版本在服务器内存资源不足时,使用C#的库,按照time>2025-09-25 17:33:10.555条件,查询返回的数据错误,返回的有小于查询条件时间的数据
- 主要言語
- 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
os:rocky linux 10.0
iotdb:apach-iotdb v2.0.4
C#程序集:Apach.IoTDB 2.0.2
### Describe the bug and provide the minimal reproduce step
string sql=select * from root.edge.device where time>2025-09-25 17:33:10.555 order by time asc limit 128;
using var dataSet=await sessionPool.ExecuteQueryStatementAsync(sql,5000);
返回的数据中,存在时间戳小于2025-09-25 17:33:10.555的数据。
dataSet.next()读取行,多行中的数据没有按照时间排序,存在时间乱序现象
### What did you expect to see?
按照条件返回正确数据
### What did you see instead?
返回数据错误,顺序也不对
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
コントリビューションガイド
調査の方向性
まず、sessionPool.ExecuteQueryStatementAsync を介してサーバーのメモリ圧迫下で SQL クエリを再現し、次に dataSet.next() で行がどのように消費されるかを調査します。フィルタリングによって 2025-09-25 17:33:10.555 以下のタイムスタンプが除外され、結果が時刻の昇順で並んでいることを確認してください。両方の条件を満たした時点で issue は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, java
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100