You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2017/05/18 21:29:04 UTC

[jira] [Resolved] (THRIFT-4203) thrift server stop gracefully

     [ https://issues.apache.org/jira/browse/THRIFT-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-4203.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.10.0)
                   0.11.0

Committed, thanks.

BTW, the Add() should be made before go ... to prevent a race condition.

> 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
>            Assignee: Jens Geyer
>              Labels: github-import
>             Fix For: 0.11.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)