influxdb/cmd
WeblWabl e984a226f2
fix: PlanOptimize is running too frequently (#26211) (#26238)
PlanOptimize is being checked far too frequently. This PR is the simplest change that can be made in order to ensure that PlanOptimize is not being ran too much. To alleviate the frequency I've added a lastWrite parameter to PlanOptimize and added an additional test that mocks the edge cause out in the wild that led to this PR.

Previously in test cases for PlanOptimize I was not checked to see if certain cases would be picked up by Plan I've adjusted a few of the existing test cases after modifying Plan and PlanOptimize to have the same lastWrite time.

(cherry picked from commit 96e44ca)
2025-04-08 12:35:21 -05:00
..
influx feat: allow `influx -import` to import from stdin (#25472) 2024-10-17 14:33:56 -05:00
influx_inspect fix: actually call the deferred function (#25952) 2025-01-31 15:42:38 -08:00
influx_tools fix: PlanOptimize is running too frequently (#26211) (#26238) 2025-04-08 12:35:21 -05:00
influxd feat: Upgrade flux to v0.196.1 (#26041) 2025-02-20 13:46:06 -06:00
integration_config_test.go Minor cleanup 2017-10-13 17:28:24 -07:00
integration_test.go build: upgrade to go1.18 (#23250) 2022-03-31 16:17:57 -05:00
parse.go Update godoc for the cmd package and subpackages 2016-12-30 11:58:43 -08:00