Actions
Bug #38949
closedLog file count can reach max int for `logs_id_seq`
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Logging
Target version:
-
Difficulty:
trivial
Triaged:
No
Description
For users with many hosts running for a long time, we can reach the integer limit for the log id sequence (logs_id_seq). We can safely change this integer to a bigint with no worries (see linked thread for fix). Example error message:
Error importing log messages for report ID: XXXXX: PG::SequenceGeneratorLimitExceeded: ERROR: nextval: reached maximum value of sequence "logs_id_seq" (XXXXX)
XXXXX
This bug was discovered in this support thread by Jeff Sparrow: https://community.theforeman.org/t/pg-error-nextval-reached-maximum-value-of-sequence-logs-id-seq-2147483647/45095
Actions