[
https://issues.apache.org/jira/browse/SENTRY-599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dapeng Sun updated SENTRY-599:
------------------------------
Attachment: TestSingleThreadExecutor.java
Attached a simple test {{TestSingleThreadExecutor.java}} to describe the
problem.
> 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
> Attachments: SENTRY-599.001.patch, SENTRY-599.002.patch,
> SENTRY-599.003.patch, SENTRY-599.004.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)