<?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="GQL-130_backfill_remaining_videos:1" author="rtorres" run-on-change="true">
        <query>
          <![CDATA[
            CALL apoc.periodic.iterate(
                  'MATCH (v:Video) WHERE v.touchedByBackfill IS NULL OR v.touchedByBackfill < datetime({year:2024,month:1,day:26}) RETURN v',
                  'SET v.touchedByBackfill = datetime(), v.lastModifiedBy = "database/GQL-130_backfill_remaining_videos:1"',
                  {batchSize: 200, iterateList: true, parallel: true, concurrency: 5}
            )
            YIELD total
            RETURN total
          ]]>
        </query>
    </changeset>
</changelog>
