[
https://issues.apache.org/jira/browse/THRIFT-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adarsh sonkar updated THRIFT-5719:
----------------------------------
Description:
After thrift upgade v12 to v18
Long running thrift connections are disconnected.
stacktrace shows call starts from -> *net.js : Socket.prototype._destroy*
{color:#de350b}this._handle.close(() => {{color}
{color:#de350b} debug('emit close');{color}
{color:#de350b} this.emit('close', isException);{color}
{color:#de350b} });{color}
was:
We are using Nodejs client and C++ server in our project. we have upgraded
thirft version from 0.12.0 to 0.17.0. In 0.17.0 version We found issue that
connection between client and server break after sending some fix amount of
data and goes for reconnect. Due to this, data is lost between that interval
and also degrade performance.
This may be because of some fix buffer size in new thrift version. we are not
able to find exact root cause of this problem. but it is issue. we have tested
version 0.18.1. this issue coming in this version also.
> Nodejs thrift 18 connection_gone() called after some time, after upgrade
> thrift 12 ->18
> ---------------------------------------------------------------------------------------
>
> Key: THRIFT-5719
> URL: https://issues.apache.org/jira/browse/THRIFT-5719
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Compiler, C++ - Library, Node.js - Compiler,
> Node.js - Library
> Affects Versions: 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.18.0
> Reporter: Adarsh sonkar
> Priority: Major
>
> After thrift upgade v12 to v18
> Long running thrift connections are disconnected.
> stacktrace shows call starts from -> *net.js : Socket.prototype._destroy*
> {color:#de350b}this._handle.close(() => {{color}
> {color:#de350b} debug('emit close');{color}
> {color:#de350b} this.emit('close', isException);{color}
> {color:#de350b} });{color}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)