Closed akmiller01 closed 3 years ago
Currently getting an error... Seeing whether it's a function of my migration or perhaps local dev env configuration:
stale_datasets = db.getFilesNotSeenAfter(conn, start_dt)
File "/home/alex/git/refresher/src/library/db.py", line 511, in getFilesNotSeenAfter
cur.execute(sql, data)
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
Made it through the refresh with that last commit!
python3 handler.py -t refresh
2021-08-06 09:02:04,619 - refresh - INFO - DB at correct version
2021-08-06 09:02:04,619 - refresh - INFO - Begin refresh
2021-08-06 09:02:04,619 - refresh - INFO - Syncing publishers from the Registry...
2021-08-06 09:14:39,179 - refresh - INFO - Publishers synced. Updating publishers in DB...
2021-08-06 09:14:39,179 - refresh - INFO - Syncing documents from the Registry...
2021-08-06 09:15:10,252 - refresh - INFO - ...Registry result got. Updating DB...
2021-08-06 09:15:19,129 - refresh - INFO - Documents synced.
2021-08-06 09:15:19,129 - refresh - INFO - End refresh.
Successfully tested a refreshloop locally with new migration: