hydra-init: Warn about the schema version migration

[?]
Feb 6, 2020, 7:26 PM
6NW4QX2P7BSOHIBUOLOIH2ZGPOP4FBYCL5HLUAJYBL7QLBQK7FGAC

Dependencies

  • [2] AMFMXR52 Provide a command ‘hydra-init’ to initialise/upgrade the database

Change contents

  • edit in src/script/hydra-init at line 47
    [2.3998]
    [2.3998]
    if ($schemaVersion <= 60) {
    print STDERR <<QUOTE;
    WARNING: Schema version 62 and 63 make nullable jobset_id fields on
    Builds and Jobs non-nullable. On big Hydra servers, this
    migration will take many hours. Because of that, the
    migration is not automatic, and must be performed manually.
    To backfill these IDs, run: hydra-fill-ids
    QUOTE
    }