You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/01/19 21:56:00 UTC
[jira] [Created] (SENTRY-2126) Transactional retry not needed for
JDO exceptions on SENTRY_HMS_NOTIFICATION_ID
kalyan kumar kalvagadda created SENTRY-2126:
-----------------------------------------------
Summary: Transactional retry not needed for JDO exceptions on SENTRY_HMS_NOTIFICATION_ID
Key: SENTRY-2126
URL: https://issues.apache.org/jira/browse/SENTRY-2126
Project: Sentry
Issue Type: Bug
Components: Sentry
Affects Versions: 2.1.0
Reporter: kalyan kumar kalvagadda
Assignee: kalyan kumar kalvagadda
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 fill in the subsequent retires. There is not 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)