buda-base / xmltoldmigration

App to migrate from TBRC XML files to BDRC RDF LD
Apache License 2.0
0 stars 2 forks source link

finding changes made by a script #132

Closed eroux closed 3 years ago

eroux commented 4 years ago

log entries with date "2017-01-24T15:53:54.908Z" were made by a script, I'm sure we can find others, I suppose it's suspicious if changes in different records happen at the same milisecond

xristy commented 4 years ago

when an xquery script is run, the datetime is fixed at the time the script starts and does not change during the execution of the script regardless of how long the script runs or how many docs are touched

eroux commented 4 years ago

yes. An interesting exception (although I guess it's multiple calls of the same query?) is the sync script which has a log entry with a different timestamp for each imagegroup

xristy commented 4 years ago

The script, /db/modules/admin/imagegroups-updater.xql, is called once for each imagegroup that is synced so each imagegroup log entry will reflect a different time.

eroux commented 4 years ago

here are a few others: