-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changelog retention defaults to 90 days after upgrade, all prior changelogs are lost. #14182
Comments
I think this is an issue with the config revision that defaults to the 1st revision after upgrade. This was also brought up at #14178. I have not tested this myself and may require some changes to the redis cache checks to ensure the set revisions are not unset. |
The issue is with the clearcache command that resets the config revisions. |
Rather than working around the specific cache entry, a more robust solution may be to move the designation of the active config version into the database. We could do this with a boolean column and a constraint limiting the table to a single true value. I suppose this presents a problem when enabling maintenance mode, however. |
NetBox version
v3.6.4
Python version
3.8
Steps to Reproduce
Expected Behavior
The changelog retention days should not default back to 90 days after upgrade.
Observed Behavior
/core/config/
/extras/changelog/
/extras/config-revisions/add/
The text was updated successfully, but these errors were encountered: