influxdata / influxdata/influxdb

2.7.10 may have a bug about function limit()

Open
#25,487 8 comments 0 reactions 0 assignees View on GitHub
area/2.x
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

I can find 532 pieces of data
![image](https://github.com/user-attachments/assets/d14005dc-6c15-4882-9a9f-c69bbdbee366)

but when i used limit(n:20, offset: 530) i got a panic :index out of range
![image](https://github.com/user-attachments/assets/70447ab2-b98d-484c-943e-2bb7be3356db)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the panic in InfluxDB 2.7.10 with the reported limit(n:20, offset:530) query against the 532-record result. Inspect the limit() entry point and capture the full query and stack trace; done means the same query completes without an index-out-of-range panic.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.