[ 
https://issues.apache.org/jira/browse/SENTRY-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336214#comment-16336214
 ] 

kalyan kumar kalvagadda commented on SENTRY-1904:
-------------------------------------------------

New patch that is attached adds upper bounds on below
 # Interval between the retry attempts which increases exponentially.
 # Total time a transaction could spend in retries.

 

With out these limits we would not have a control on how long a transaction 
could be be active.

> TransactionManager should limit the max time spent by transaction retry
> -----------------------------------------------------------------------
>
>                 Key: SENTRY-1904
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1904
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>         Attachments: SENTRY-1904.001.patch
>
>
> The TransactionManager uses exponential backoff strategy for transaction 
> retries. This may cause some transactions to be delayed by a very long time. 
> We should also have a constraint on the max time for a transaction so that we 
> do not retry for too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to