<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="DS-3092_backfill_label_participant_4:1" author="borisuvarov" run-on-change="true">
        <query>
            CALL apoc.periodic.iterate(
              'MATCH (lp:LabelParticipant) RETURN lp',
              'SET lp.touchedByBackfill=datetime()',
            {batchSize:1000,iterateList:true,parallel:true,concurrency:5}
            )
            YIELD total, failedOperations, errorMessages
            CALL apoc.util.validate(failedOperations > 0, "At least one sub-operation failed: %s", [reduce(all_errors = "", error IN keys(errorMessages) | all_errors + ", " + error)])
            RETURN total;
        </query>
    </changeset>
</changelog>
