Skip to content
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

Avoid race condition if possible (8.0) #472

Merged
merged 1 commit into from
Apr 10, 2019

Conversation

mattmundell
Copy link
Contributor

There's a race condition using the WHERE NOT EXISTS SQL when
inserting new NVTs into result_nvts. It should not occur so
easily in practice, but when running random-report-gen.gmp
this happens easily.

Solve only for Postgres, and only versions >= 9.5, for now.

There's a race condition using the WHERE NOT EXISTS SQL when
inserting new NVTs into result_nvts.  It should not occur so
easily in practice, but when running random-report-gen.gmp
this happens easily.

Solve only for Postgres, and only versions >= 9.5, for now.
@mattmundell mattmundell requested a review from a team April 9, 2019 13:36
@mattmundell mattmundell changed the title Avoid race condition if possible Avoid race condition if possible (8.0) Apr 9, 2019
@timopollmeier timopollmeier merged commit 8b4149b into greenbone:gvmd-8.0 Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants