[
https://issues.apache.org/jira/browse/SENTRY-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
guoquan updated SENTRY-599:
---------------------------
Fix Version/s: 1.5.0
> Sentry service may report incorrect status when service is restarting
> ---------------------------------------------------------------------
>
> Key: SENTRY-599
> URL: https://issues.apache.org/jira/browse/SENTRY-599
> Project: Sentry
> Issue Type: Bug
> Reporter: Dapeng Sun
> Assignee: Dapeng Sun
> Fix For: 1.5.0
>
> Attachments: SENTRY-599.001.patch, SENTRY-599.002.patch,
> SENTRY-599.003.patch, SENTRY-599.004.patch, SENTRY-599.005.patch,
> SENTRY-599.005.patch, SENTRY-599.005.patch, SENTRY-599.006.patch,
> SENTRY-599.007.patch, TestSingleThreadExecutor.java
>
>
> When sentry service is restarting using same configuration and context.
> {{server.isRunning()}} will report incorrect status.
> The root cause is {{finally}} may run after {{future =
> serviceExecutor.submit(this);}}, the status will be {{NOT_STARTED}} even the
> thrift server is started
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)