1. 17 Sep, 2020 4 commits
    • aguestuser's avatar
      [h] pin ci runner postgres image to 12 · 0419d5ad
      aguestuser authored
      0419d5ad
    • aguestuser's avatar
      [h] notify members of deleted channels in background · 84f67585
      aguestuser authored
      * BUG SYMPTOM: when deleting a very large channel, the call to
        `phoneNumberRegistrar.destroy` fails due to a mysterious `Operation
        timeout`
      * LIKELY CAUSE: awaiting the resolution of the call to
        `notifyMembers` (which takes over an hour for a large channel)
        likely causes the transaction initiated at the top of `destroy` to
        timeout
      * FIX: launch notifications as "fire and forget" process in the
        background and add some more verbose logging to help debug if error persists
      84f67585
    • aguestuser's avatar
      Merge branch 'hotfix-dial-socket-pool-to-5' into 'main' · 97dd8323
      aguestuser authored
      [h] dial socket pool to 5 (temporariarly)
      
      See merge request !392
      97dd8323
    • aguestuser's avatar
      [h] dial socket pool to 5 (temporariarly) · df7f4ab2
      aguestuser authored
      * we are about to delete a large channel, which will yield interesting
        data on message lag when it sends out a notification of the deletion
        to all subscribers
      * in order to measure the effects of socket pooling, we are going to
        temporarily increase the socket pool back to 5 in order to get APMs
        from the transmission, then dial it back to 1 (which results in
        fewer crashes due to concurrency issues in signald)
      df7f4ab2
  2. 16 Sep, 2020 10 commits
  3. 15 Sep, 2020 1 commit
    • aguestuser's avatar
      [347] split redeem & recycle logic into 2 functions in registrar · 7ea2b5e6
      aguestuser authored
      * extract a `phoneNumberRegistrar.redeem`, which may be called from
        dispatcher as soon as a redemption message is received. it:
        * deletes recycle request for redeemed channel
        * immediately notifies channel admins and instance maintainers that
          channel has been redeemed (no more waiting 24 hours! :))
      * refactor `recycleRequestRepository.evaluateRecycleRequests`
        * rename to `recycleRequest.getMaturerecycleRequests`
        * only retrieve and return mature recycle requests
        * don't worry about filtering out redeemed channel phone numbers
          anymore, since this will be done atomically and directly by calls
          to `#redeem` above
      * simplify `phoneNumberRegistrar.processRecycleRequests`:
        * don't worry about redeemed nubmers
        * just get the mature requests, recycle their channels, and notify
          the admins that this happened
      7ea2b5e6
  4. 14 Sep, 2020 2 commits
  5. 13 Sep, 2020 2 commits
  6. 11 Sep, 2020 20 commits
  7. 09 Sep, 2020 1 commit