Closed timopollmeier closed 2 days ago
Type | Number |
---|---|
Added | 1 |
Bug Fixes | 1 |
:rocket: Conventional commits found.
harbor-os.greenbone.net/community/gvmd:2328-merge-amd64
harbor-os.greenbone.net/community/gvmd:2328-merge-amd64
digest | sha256:2773deae4126b8cdb4f54f57f5204cdf312ec7277e49b700b2ae9ba488a26af6 |
vulnerabilities | |
size | 248 MB |
packages | 419 |
debian:oldstable-20241016-slim
also known as |
|
digest | sha256:3a99f42e7f377765bc5d6773c22c23d85e9175a57dd95f72c307845174514d29 |
vulnerabilities |
What
When running gvmd with the --optimize=cleanup-sequences option, the database checks during initialization will avoid most inserts. Setting database_version and max_hosts in the meta table now uses INSERT ... ON CONFLICT instead of deleting the previous entry.
Why
Skipping the inserts prevents the cleanup failing if one of the sequence has already run out of ids. The change to the meta table update reduces the risk of the meta table id sequence running out.
References
GEA-576