this timestamp being actually a loading-related value, it makes more
sense to keep it in the OriginVisitStatus table.
Related to T2444.
Differential D4881
Move the `last_scheduled` ts from ListedOrigin to OriginVisitStatus douardda on Jan 19 2021, 2:49 PM. Authored by
Details
this timestamp being actually a loading-related value, it makes more Related to T2444.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4881 (id=17338)Rebasing onto 5e609d5205... Current branch diff-target is up to date. Changes applied before testcommit f87d9d62fd087e373d1e86fdbbc6a7b5f6c09f24 Author: David Douard <david.douard@sdfa3.org> Date: Tue Jan 19 14:45:09 2021 +0100 Move the `last_scheduled` ts from ListedOrigin to OriginVisitStatus this timestamp being actually a loading-related value, it makes more sense to keep it in the OriginVisitStatus table. Related to T2444. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/157/ for more details. Comment Actions Build is green Patch application report for D4881 (id=17339)Rebasing onto 5e609d5205... Current branch diff-target is up to date. Changes applied before testcommit dd905f5adeca8a4ea83f05b62b45dcc354a30d42 Author: David Douard <david.douard@sdfa3.org> Date: Tue Jan 19 14:45:09 2021 +0100 Move the `last_scheduled` ts from ListedOrigin to OriginVisitStatus this timestamp being actually a loading-related value, it makes more sense to keep it in the OriginVisitStatus table. Related to T2444. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/158/ for more details.
Comment Actions Nice! I've taken the liberty of reorganizing/rewriting the SQL; I have quickly tested it on a scratch database and it seems to work. I think we'll be able to use the same three-part query scaffolding to implement other scheduling policies, only changing the filter / sort criteria, so that feels like a big win.
Comment Actions Build is green Patch application report for D4881 (id=17346)Rebasing onto 5e609d5205... Current branch diff-target is up to date. Changes applied before testcommit 197dcea6448b15f39fd5406ab3b741a00de8319d Author: David Douard <david.douard@sdfa3.org> Date: Tue Jan 19 14:45:09 2021 +0100 Move the `last_scheduled` ts from ListedOrigin to OriginVisitStatus this timestamp being actually a loading-related value, it makes more sense to keep it in the OriginVisitStatus table. Related to T2444. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/159/ for more details.
Comment Actions Build is green Patch application report for D4881 (id=17352)Rebasing onto 0a32a31195... Current branch diff-target is up to date. Changes applied before testcommit f8627a96fed6fa8d4485d4092159982dd5c6362b Author: David Douard <david.douard@sdfa3.org> Date: Tue Jan 19 14:45:09 2021 +0100 Move the `last_scheduled` ts from ListedOrigin to OriginVisitStatus this timestamp being actually a loading-related value, it makes more sense to keep it in the OriginVisitStatus table. Related to T2444. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/163/ for more details. |