2.3 KiB
2.3 KiB
2022-05-26
Normalizing tags in production
First pass
count |
---|
371 |
SELECT account_id
FROM accounts
WHERE NOT normalized AND total <= 500
(let ((filename "~/git/normalize_account_tags/production/07-less-than-equal-to-five-hundred"))
(with-temp-file filename
(insert (s-join "\n" (-map #'car accounts))))
filename)
Encountered mapping errors
There were a significant number of 503 errors being raised by mapping that affected the run. Only accounts that were normalized successfully were marked as complete. Mapping was restarted in production, clearing up the errors.
Resuming
count |
---|
152 |
SELECT account_id
FROM accounts
WHERE NOT normalized AND total <= 500
(let ((filename "~/git/normalize_account_tags/production/08-less-than-equal-to-five-hundred"))
(with-temp-file filename
(insert (s-join "\n" (-map #'car accounts))))
filename)