You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring the max number of indices to 0 leads to errors during retention.
Index Time & Index Message Count retention strategies are affected.
Expected Behavior
It should not be possible to set a value for the max number of indices to something lower than 1
Current Behavior
At some point, retention stops working at all since we always run into this exception:
2025-02-06 11:26:26,598 INFO : org.graylog2.indexer.retention.executors.CountBasedRetentionExecutor - Number of indices (2) higher than limit (0). Running retention for 2 indices.
2025-02-06 11:26:26,605 ERROR: org.graylog2.periodical.IndexRetentionThread - Uncaught exception in Periodical
java.lang.IllegalArgumentException: -1
at java.base/java.util.stream.ReferencePipeline.skip(ReferencePipeline.java:575) ~[?:?]
Steps to Reproduce (for bugs)
Configure an index to Index Time Retention strategy and max number of indices to 0
Restart your Graylog server
See retention breaking
The text was updated successfully, but these errors were encountered:
Configuring the max number of indices to 0 leads to errors during retention.
Index Time & Index Message Count retention strategies are affected.
Expected Behavior
It should not be possible to set a value for the max number of indices to something lower than 1
Current Behavior
At some point, retention stops working at all since we always run into this exception:
Steps to Reproduce (for bugs)
The text was updated successfully, but these errors were encountered: