[Bug] 2.0.4版本在服务器内存资源不足时,使用C#的库,按照time>2025-09-25 17:33:10.555条件,查询返回的数据错误,返回的有小于查询条件时间的数据
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
### 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!
Contributor guide
Research direction
Start by reproducing the SQL query under server memory pressure through sessionPool.ExecuteQueryStatementAsync, then inspect how rows are consumed with dataSet.next(). Verify that filtering excludes timestamps at or below 2025-09-25 17:33:10.555 and that results are ordered ascending by time; the issue is done when both conditions hold.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100