influxdata / ui

UI for InfluxDB
93 stars 42 forks source link

Crash when selecting MEDIAN / LAST As aggregation function. #6742

Open ajiau opened 1 year ago

ajiau commented 1 year ago

About the bug

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. ... Open 7 day range on data (my data is hourly)
  2. ... Select Window Period 3 hours
  3. ... Select MEDIAN/LAST = crash. SELECT MEAN = OK.

Expected behavior:

Actual behavior:

Visual Proof:

About your environment

Environment info:

Config:

Logs:

Performance: Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.

# Commands should be run when the bug is actively.
# Note: This command will run for at least 30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz`, `vars.txt`, and `iostat.txt` output files.
zoesteinkamp commented 7 months ago

Please add more details.