https://forge.softwareheritage.org/source/swh-scheduler.git
Revision ee162fe9659b79694d4ce130bb4d2f4cb3b5b8d1 authored by Nicolas Dandrimont on 13 December 2019, 10:29:22 UTC, committed by Nicolas Dandrimont on 13 December 2019, 10:32:33 UTC
The former index on hash(arguments->'args') has lost relevance as about half the
tasks (the ones for the loader) have the same value (an empty list) for this
field.

This index is more universal, faster, and also easier to convince the planner of
using.

If we want more specific indexes (e.g. on specific keyword arguments) we'll be
able to add that separately.
1 parent 0b04220
Raw File
Tip revision: ee162fe9659b79694d4ce130bb4d2f4cb3b5b8d1 authored by Nicolas Dandrimont on 13 December 2019, 10:29:22 UTC
Use a btree of (task_type, md5(arguments)) to match task arguments
Tip revision: ee162fe
Makefile
# Makefile driver for SWH Python modules. DO NOT CHANGE.
# You can add custom Makefile rules to Makefile.local

include ../Makefile.python
-include Makefile.local
back to top