[Bug] 2.0.4版本在服务器内存资源不足时,使用C#的库,按照time>2025-09-25 17:33:10.555条件,查询返回的数据错误,返回的有小于查询条件时间的数据
- 主要语言
- Java
- 星标
- 6.4k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 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