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

Jens Geyer commented on THRIFT-4203:
------------------------------------

GitHub user dongxiaozhen opened a pull request:

    https://github.com/apache/thrift/pull/1271

    server stop gracefully

    make golang thrift  server  stop gracefully

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dongxiaozhen/thrift master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1271.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1271
    


> thrift server stop gracefully
> -----------------------------
>
>                 Key: THRIFT-4203
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4203
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Library
>    Affects Versions: 0.10.0
>            Reporter: binbin li
>              Labels: github-import
>             Fix For: 0.10.0
>
>
> When the service is closed, it simply exits the listener function and 
> immediately exits without waiting for the goroutines to be stopped by the 
> request being processed, which results in inconsistent services and data



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to