Page MenuHomePhabricator

Notifications for past events sent after Phabricator upgrade
Closed, DuplicatePublic

Description

We recently upgraded our Phabricator following the guidelines on this page.

https://secure.phabricator.com/book/phabricator/article/upgrading/#upgrade-process

Ever since the update, users are reporting they are receiving email notifications for commits and changes made 6+ months ago. Is there some way of resetting notifications?

Reproduction Steps:

  1. Stop all phabricator services (web, phd, aphlict)
  2. Update all files (phabricator, arcanist, libphutil)
  3. Perform database update
  4. Start services

Expected behavior

Users will receive email notifications for changes made after the update

Actual behavior

Users are receiving emails for previous commits and changes 6+ months ago

Version
phabricator 34af66122e47f3194156847e36e583b5d67cfcda (Mon, Aug 15)

Troubleshooting steps taken

  • Restarted phd
  • Looked at web error logs
  • Looked at phd daemon logs

Event Timeline

This is expected, as they are most likely not previously discovered commits.

Well, I'm guessing overall, roughy my theory is:

  • It's been a while since you've updated
  • These commits are ones not previously imported into Phabricator.

Outside of those guesses, it would be helpful to have a full set up steps to reproduce the issue. The steps you've provided aren't complete enough for me to reproduce the issue you may be seeing.

Yeah, this is likely the same as T11188. See that task for some additional discussion.

Yes, this seems to be exactly what the other issue was referring to. We've just recently upgraded (previous codebase was 2+ years old) and massive amounts of commit email are getting sent out.

I will try to put the repositories in an importing state to calm down the mail volume (command referenced in the above issue).