[
https://issues.apache.org/jira/browse/SENTRY-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953057#comment-14953057
]
Yibing Shi commented on SENTRY-902:
-----------------------------------
{quote}
All configuration parameters go into ServiceConstants.java
{quote}
The change of this patch is in sentry client project {{sentry-provider-db}},
which doesn't have a {{ServiceConstants}} class yet. Do you reckon we should
add one? (I don't think we should put these configurations in
{{ServiceConstants}} in Server side projects)
> SimpleDBProviderBackend should retry the authrization process properly
> ----------------------------------------------------------------------
>
> Key: SENTRY-902
> URL: https://issues.apache.org/jira/browse/SENTRY-902
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.4.0
> Reporter: Yibing Shi
> Assignee: Yibing Shi
> Attachments: SENTRY-902.1.patch, SENTRY-902.2.patch,
> SENTRY-902.3.patch
>
>
> Currently {{SimpleDBProviderBackend}} doesn't retry the authorization
> properly. Problems are:
> # It retry count is hard coded. Always retries once
> # No wait time between before retries
> # The method calls itself recursively, which could causes stack overflow if
> retries too many times
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)