Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2126

Transactional retry not needed for JDO exceptions on SENTRY_HMS_NOTIFICATION_ID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • None
    • Sentry
    • None

    Description

      Transactional reties not needed for failures while persisting MSentryHmsNotification which are because of duplicate key. 

       

       

      There are only inserts that happen on this table. If an insert failed because of duplicate entry, it will likely fail in the subsequent retires. There is no need to retry.

       

      Specially in HA mode when multiple sentry servers can act as leader (split Brian situation) this will cause additional load on the database for no reason.

      Attachments

        1. SENTRY-2126.001.patch
          6 kB
          Krishna Kalyan

        Issue Links

          Activity

            People

              kkalyan Krishna Kalyan
              kkalyan Krishna Kalyan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: