Joseph Schorr
154c17bd3c
Merge pull request #3367 from quay/add-additional-missing-indexes
...
Add an index on the logs_archived boolean on a RepositoryBuild
2019-02-15 16:52:17 -05:00
Joseph Schorr
f4a1646a8b
Add an index on the logs_archived boolean on a RepositoryBuild
...
Addresses the slow query:
```
SELECT `candidates` . `id` FROM ( SELECT `t1` . `id` FROM `repositorybuild` AS `t1` WHERE ( ( ( `t1` . `phase` IN (...) ) OR ( `t1` . `started` < ? ) ) AND ( `t1` . `logs_archived` = ? ) ) LIMIT ? ) AS `candidates` ORDER BY `Rand` ( ) LIMIT ? OFFSET ?
```
While the cardinality on `logs_archived` will be low, it should also only be in the `false` state for a very small number of records, so it should make this query very, very fast.
2019-02-15 16:11:25 -05:00
Joseph Schorr
c4f7b28dc6
Merge pull request #3364 from quay/appr-search-fix
...
Extend appr search to return private repositories
2019-02-15 11:24:08 -05:00
Joseph Schorr
f8b19e798f
Change appr search to return private repos when logged in
2019-02-14 17:39:40 -05:00
Joseph Schorr
cb677c5711
Merge pull request #3363 from quay/add-missing-indexes
...
Add some missing indexes that should make queries significantly faster
2019-02-14 17:27:24 -05:00
Joseph Schorr
331a7a640b
Add some missing indexes that should make queries significantly faster
2019-02-14 17:23:30 -05:00
Sida Chen
ea9707b969
Merge pull request #3361 from KeyboardNerd/fix_es_test
...
Fix elasticsearch test
2019-02-14 15:17:49 -05:00
Joseph Schorr
39db907172
Merge pull request #3362 from quay/shared-layer-fixes
...
Shared blob fixes and optimizations
2019-02-14 14:45:54 -05:00
Joseph Schorr
7688a3e348
Make sure _lookup_repo_storages_by_content_checksum operates over a set
2019-02-14 14:43:23 -05:00
Sida Chen
2e7725cfa4
Fix elasticsearch test
...
dictionary object was serialized in random key order, fix that by
comparing the deserialized dict directly.
2019-02-14 14:19:23 -05:00
Joseph Schorr
69c306e740
Have blob mounting use the blob cache
2019-02-14 13:06:18 -05:00
Joseph Schorr
f75f315037
Optimize lookup of shared global blobs
...
Currently, we only have one (the shared empty layer), but this should make the blob lookups for repositories significantly faster, as we won't need to do the massive join.
2019-02-14 12:46:42 -05:00
Joseph Schorr
7beac643ec
Add an additional test for lookup repo blobs by digest
2019-02-14 11:22:06 -05:00
Joseph Schorr
d24127d8ce
Merge pull request #3360 from thomasmckay/1290-nginx-vts-redo
...
1290 - fix reverted nginx vts removal
2019-02-14 11:06:52 -05:00
Joseph Schorr
ec35750f2c
Add a lookup test for get_or_create_shared_blob
2019-02-14 10:27:34 -05:00
Tom McKay
a4700d75c1
1290 - fix reverted nginx vts removal
2019-02-14 09:40:34 -05:00
Joseph Schorr
f917de8c70
Merge pull request #3357 from quay/joseph.schorr/QUAY-1327/dont-scan-uploading
...
Make sure images in the process of being uploaded are not scanned by Clair
2019-02-13 16:04:34 -05:00
Sida Chen
d67bbd4917
Merge pull request #3352 from kleesc/elastic_logs_model_implementation
...
Implement logs model using Elasticsearch
2019-02-13 15:51:13 -05:00
Kenny Lee Sin Cheong
035541c6f2
Implement logs model using Elasticsearch
...
- Implement logs model using Elasticsearch with tests
- Implement transition model using both elasticsearch and database model
- Add LOGS_MODEL configuration to choose which to use.
Co-authored-by: Sida Chen <sidchen@redhat.com>
Co-authored-by: Kenny Lee Sin Cheong <kenny.lee@redhat.com>
2019-02-12 16:33:42 -05:00
Sida Chen
5808a84279
Merge pull request #3358 from KeyboardNerd/fix_license
...
Fix python license checking and uninstall docutils on build
2019-02-12 13:32:32 -05:00
Sida Chen
8434b65fcb
Fix python license checking and uninstall docutils on build
2019-02-12 12:50:35 -05:00
Joseph Schorr
0b706bc7c4
Make sure images in the process of being uploaded are not scanned by Clair
2019-02-08 16:20:44 -05:00
Joseph Schorr
8d722dee81
Merge pull request #3356 from quay/tag-backfill-skip-improvements
...
Tag backfill improvements
2019-02-07 13:52:32 -05:00
Joseph Schorr
0bfbccdd44
Add a handler for broken tags in the tag backfill system
...
This will generate a tag pointing to an empty manifest; the tag will be broken, but as it is *already* broken, at least the backfill can complete
2019-02-07 13:36:47 -05:00
Joseph Schorr
bbaee0d3f2
Add additional logging for missing parent images
2019-02-06 17:34:18 -05:00
Joseph Schorr
606b08906c
Fix typo
2019-02-06 11:41:50 -05:00
Joseph Schorr
097311f360
Handle additional error cases in the manifest schema 1 implementation
2019-02-06 11:41:50 -05:00
Joseph Schorr
82897a2bba
Add a log for an integrity error in writing a manifest
2019-02-06 11:41:50 -05:00
Joseph Schorr
f8dd8b2494
Have tag backfill worker continue processing ranges that have errors
2019-02-06 11:41:50 -05:00
thomasmckay
c8bb6e0ec5
Merge pull request #3355 from thomasmckay/1316-exportactionlogsworker
...
1316 - exportactionlogsworker period to 60sec
2019-02-06 08:17:48 -05:00
Tom McKay
56ceef823a
1316 - exportactionlogsworker period to 60sec
2019-02-05 16:06:29 -05:00
thomasmckay
39097b2318
Merge pull request #3347 from thomasmckay/1290-nginx-vts
...
1290 - remove nginx vts
2019-02-05 14:14:23 -05:00
Joseph Schorr
9863930ab7
Merge pull request #3354 from quay/skip-database-check
...
Skip the database check filtering if not present, such as on warnings
2019-02-04 16:37:52 -05:00
Joseph Schorr
fcfc81806c
Skip the database check filtering if not present, such as on warnings
2019-02-04 16:36:02 -05:00
Joseph Schorr
18e5550f74
Merge pull request #3353 from quay/healthcheck-improvements
...
Improvements to health checks
2019-02-04 16:22:48 -05:00
Tom McKay
b38c31464f
1290 - remove nginx vts
2019-02-04 13:19:48 -05:00
Joseph Schorr
cac5f44d15
Improvements to health checks
...
- Adds a warning endpoint for warning-only checks
- Changes the default for the disk space check to 1%, instead of 10%
- Removes instance services from the overall health check endpoint
2019-02-04 13:17:59 -05:00
thomasmckay
6661ee8119
Merge pull request #3351 from thomasmckay/1311-remove-monit
...
1311 - remove buildmanager monit
2019-02-04 11:23:41 -05:00
Tom McKay
1ee2f0e3b2
1311 - remove buildmanager monit
2019-02-01 12:59:18 -05:00
Joseph Schorr
40c0352dd1
Merge pull request #3350 from quay/small-manifest-opt
...
Small optimization in manifest loading in the OCI data model
2019-01-29 13:16:37 -05:00
Joseph Schorr
0d1ac7a4bb
Small optimization in manifest loading in the OCI data model
2019-01-29 13:11:48 -05:00
Joseph Schorr
6c3eab47e0
Merge pull request #3348 from quay/optimize-log-listing
...
Optimize log listing
2019-01-29 11:25:32 -05:00
Joseph Schorr
ec9913326a
Change bulk logs downloader to use datetime ranges as well
2019-01-28 18:15:55 -05:00
Joseph Schorr
d4c74bc1d3
Optimize listing of logs by changing to bucket by datetime, over which we have an index
2019-01-28 17:45:45 -05:00
Joseph Schorr
9f09d68ad8
Merge pull request #3323 from quay/joseph.schorr/QUAY-1282/log-interfacing
...
Interface out all action log data model operations
2019-01-28 15:09:25 -05:00
Joseph Schorr
b773a18ed8
Interface out all action log data model operations
...
This will allow us to reimplement the logs data model against a non-database system in the near future
2019-01-25 15:52:22 -05:00
Kenny Lee Sin Cheong
95d92f3a3b
Update dockerclient test boxes ( #3316 )
...
* Update boxes Check for vagrant and vagrant-scp
* Email flag is deprecated on after 17.0.6
2019-01-25 13:49:19 -05:00
Kenny Lee Sin Cheong
1b1c9cd1cf
Add V1_ONLY_DOMAIN to internal properties ( #3345 )
2019-01-23 18:01:15 -05:00
Joseph Schorr
6d7b113ca0
Merge pull request #3344 from quay/tag-backfill-legacy-tags-fix
...
Fix a bug in the tag backfill that prevented copying lifetime_start_ts when it is zero
2019-01-23 15:31:04 -05:00
Joseph Schorr
4e9949f69d
Fix a bug in the tag backfill that prevented copying lifetime_start_ts when it is zero
2019-01-23 15:28:05 -05:00