Quentin Machu
94bcf91cdf
Merge pull request #263 from Quentin-M/rhel_unique_fixedin
...
pgsql: Do not insert entry in Vulnerability_FixedIn_Feature if existing
8 years ago
Quentin Machu
9b191fb598
database: Find the FeatureVersion we try to insert before doing any lock
...
This commit is issued in order to limit the bottleneck that the
exclusive database lock on Vulnerability_Affects_FeautreVersion
introduces, when we inserting FeatureVersions. This slowdowns a bit
the FeatureVersion insertion on a mostly empty database but should
increase a lot the throughput and parallelism on a populated database.
8 years ago
Quentin Machu
84319507df
database: use constants to store queries
8 years ago
Quentin Machu
8f9779e232
database: cache feature version upon lookup
8 years ago
Quentin Machu
35df7ca0eb
database: fix feature version cache
8 years ago
Quentin Machu
baed60e19b
prometheus: add initial Prometheus support
8 years ago
Quentin Machu
ad0531acc7
notifier/database: refactor notification system and add initial Prometheus support
8 years ago
Quentin Machu
248fc7df72
database: fix cache collision (feature & feature versions)
8 years ago
Quentin Machu
82175dcfe9
*: add missing copyright headers
8 years ago
Quentin Machu
bd17dfb5e1
database: ensure that concurrent vulnerability/feature versions insertions work fine
8 years ago
Quentin Machu
74fc5b3e66
database: add missing transaction commits and close opened statement before inserting feature versions.
8 years ago
Quentin Machu
77387af2ac
updater: port updater and its fetchers
8 years ago
Quentin Machu
7c70fc1c20
database: add initial vulnerability support
8 years ago
Quentin Machu
6a9cf21fd4
database: log and mask SQL errors
8 years ago
Quentin Machu
970756cd5a
database: do insert/find layers (with their features and vulnerabilities)
8 years ago
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
8 years ago