thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4203) thrift server stop gracefully
Date Thu, 18 May 2017 18:56:04 GMT

    [ 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)

Mime
View raw message