roam/daily/2022-05-20.org
2022-05-27 17:35:02 -04:00

1.9 KiB

2022-05-20

Normalizing tags in production

  SELECT COUNT(*)
  FROM accounts
  WHERE NOT normalized AND total <= 10
Find the next set of least affected accounts
count
759
  SELECT account_id
  FROM accounts
  WHERE NOT normalized AND total <= 10
  (let ((filename "~/git/normalize_account_tags/production/02-less-than-equal-to-ten"))
    (with-temp-file filename
      (insert (s-join "\n" (-map #'car accounts))))
    filename)

/correlr/roam/src/commit/74f9662c68a18cb61a62c96cb8b429c38f16d2f8/daily/~/git/normalize_account_tags/production/02-less-than-equal-to-ten

  UPDATE accounts SET normalized = TRUE
  WHERE NOT normalized AND total <= 10
UPDATE 759

Sync up on Recipient Service updates

  • Andrew is still working on tests for the updated GET endpoints due to unrelated sprockets amqp ioloop issues.
  • Subscriber sync change needs to be done next to check for existence of the recipient record rather than the subscriber record, as the latter will now always exist.

Senior engineering meet up

  • Create a ticket to add an api-suspenders style queuing system in the Recipient Service's subscriber creation implementation using redis for storage.