Skip to content

Commit

Permalink
Merge pull request #404 from aerospike/v7.6.0
Browse files Browse the repository at this point in the history
only size AGI if plugin or aerospike is down, not ingest
  • Loading branch information
robertglonek authored Sep 6, 2024
2 parents fdfd603 + 1d176c9 commit 77dc75e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cmdAgiMonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,10 @@ func (c *agiMonitorListenCmd) handleCheckSizing(w http.ResponseWriter, r *http.R
performRamSizing := func() (performRamSizing bool) {
switch event.Event {
case AgiEventServiceDown:
if event.IngestStatus.AerospikeRunning && event.IngestStatus.PluginRunning {
// ingest or grafana helper is down, do NOT size; only Plugin and Aerospike crashes should be sized
return
}
if event.IsDataInMemory && c.SizingNoDIMFirst {
disableDim = true
} else {
Expand Down

0 comments on commit 77dc75e

Please sign in to comment.