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/ee397416e767181e2c5a3acf8572917559c7df85/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.