Page MenuHomeSoftware Heritage
Paste P849

revision metadata tasks with deprecated policy_update...
ActivePublic

Authored by ardumont on Nov 3 2020, 2:44 PM.
softwareheritage-scheduler=> \x
softwareheritage-scheduler=> select * from task where type='index-revision-metadata' limit 10;
-[ RECORD 1 ]----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
id | 114244463
type | index-revision-metadata
arguments | {"args": [], "kwargs": {"ids": ["2ade866be83193ef461c8f661bbbaa8cea3a6ac5"], "next_step": {"type": "indexer_origin_metadata", "policy": "oneshot", "arguments": {"args": [], "kwargs": {"origin_head": {"14342257": "2ade86$
next_run | 2019-01-29 11:11:29.196488+00
current_interval | 1 day
status | disabled
policy | oneshot
retries_left | 0
priority |
-[ RECORD 2 ]----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
id | 108291694
type | index-revision-metadata
arguments | {"args": [], "kwargs": {"ids": ["1fc693167a3643a07292153f445bac1556ac91be"], "next_step": {"type": "indexer_origin_metadata", "policy": "oneshot", "arguments": {"args": [], "kwargs": {"origin_head": {"49629781": "1fc693$
next_run | 2019-01-15 13:38:53.182915+00
current_interval | 1 day
status | next_run_scheduled
policy | oneshot
retries_left | 0
priority |
-[ RECORD 3 ]----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
id | 108462461
type | index-revision-metadata
arguments | {"args": [], "kwargs": {"ids": ["c18e4e8ded849873ac0dce10c9aeca765e4dcc8f"], "next_step": {"type": "indexer_origin_metadata", "policy": "oneshot", "arguments": {"args": [], "kwargs": {"origin_head": {"49769136": "c18e4e$
next_run | 2019-01-15 14:55:03.122001+00
current_interval | 1 day
status | next_run_scheduled
policy | oneshot
retries_left | 0
priority |
-[ RECORD 4 ]----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
id | 108514814
type | index-revision-metadata
arguments | {"args": [], "kwargs": {"ids": ["3d9b083d7a87ef686859a716adb4f9141ce5370e"], "next_step": {"type": "indexer_origin_metadata", "policy": "oneshot", "arguments": {"args": [], "kwargs": {"origin_head": {"55509538": "3d9b08$
next_run | 2019-01-15 15:27:18.944915+00
current_interval | 1 day
status | next_run_scheduled
policy | oneshot
retries_left | 0
priority |
-[ RECORD 5 ]----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
id | 108658530
type | index-revision-metadata
arguments | {"args": [], "kwargs": {"ids": ["48b6a5a33ded8a55e0a0c5bb3f54e7a6050b8f4e"], "next_step": {"type": "indexer_origin_metadata", "policy": "oneshot", "arguments": {"args": [], "kwargs": {"origin_head": {"49760667": "48b6a5$
next_run | 2019-01-15 16:44:47.723745+00
current_interval | 1 day
status | next_run_scheduled
policy | oneshot
retries_left | 0
priority |
softwareheritage-scheduler=> select * from task where type like 'index-origin-head' and status != 'disabled' limit 10;
id | type | arguments | next_run | current_interval | status | policy | retries_left | priority
-----------+-------------------+----------------------------------------------------------------------------------------+-------------------------------+------------------+--------------------+---------+--------------+----------
114175045 | index-origin-head | {"args": [[65916211]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:31.789574+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175039 | index-origin-head | {"args": [[57171156]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.95806+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175038 | index-origin-head | {"args": [[57171326]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.663151+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175037 | index-origin-head | {"args": [[57171154]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.609504+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175035 | index-origin-head | {"args": [[57171162]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.405512+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175034 | index-origin-head | {"args": [[57171289]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.344199+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175033 | index-origin-head | {"args": [[57171291]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.298327+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175032 | index-origin-head | {"args": [[57171146]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:30.255929+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175030 | index-origin-head | {"args": [[65916205]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:29.941925+00 | 1 day | next_run_scheduled | oneshot | 0 |
114175029 | index-origin-head | {"args": [[65916204]], "kwargs": {"parse_ids": false, "policy_update": "update-dups"}} | 2019-01-29 05:27:29.901277+00 | 1 day | next_run_scheduled | oneshot | 0 |

Event Timeline

ardumont edited the content of this paste. (Show Details)