Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-28631

Email connector — In certain circumstances, the sending of emails is duplicated

XMLWordPrintable

      glepage@redhat.com realized that under certain circumstances we were sending duplicate emails to users. Luckily, we didn't send any duplicate emails to customers, and only internal Red Hat users were affected.

      This happened because we were not removing the duplicated recipients from the recipient settings that the email connector receives, so if one tenant had for example two behavior groups with email notifications on them, that would generate at least two recipient settings objects.

      Then, since the email connector processed them sequentially, we would have two sets of users to send notifications to. Those sets were never combined and therefore the duplicates were not removed, which caused multiple emails being set for the same tenant, one for each set of users.

      The fix is relatively easy: change the routing of the email connector a bit so that it aggregates the recipients into a single object, and sends a unique email for all the recipients.

            mbarcina@redhat.com Mikel Barcina
            mbarcina@redhat.com Mikel Barcina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: