You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/30 00:09:00 UTC
[jira] [Commented] (GEODE-3147) ByteBuffer needs to be set for
TXSynchronizationCommand when Max_Threads is set
[ https://issues.apache.org/jira/browse/GEODE-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069241#comment-16069241 ]
ASF subversion and git services commented on GEODE-3147:
--------------------------------------------------------
Commit a1583458e81b0a3fb3766948dd5b03af9fabf907 in geode's branch refs/heads/develop from [~eshu]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=a158345 ]
GEODE-3147: Set commBuffer for threads performing TXSynchronization calls when max-threads is set.
Added an interface that is implemented by AcceptorImpl to set and release commBuffer.
Added a unit test case that failed without this fix.
> ByteBuffer needs to be set for TXSynchronizationCommand when Max_Threads is set
> -------------------------------------------------------------------------------
>
> Key: GEODE-3147
> URL: https://issues.apache.org/jira/browse/GEODE-3147
> Project: Geode
> Issue Type: Bug
> Components: transactions
> Reporter: Eric Shu
> Assignee: Eric Shu
>
> TXSynchronizationCommand use a thread pool to perform beforeCompletion and afterCompletion task and writeReply back to client. When Max_Threads is set in CacheServer, ThreadLocal TLCommBuffer is not set in those threads and no message can be send back to clients - causing the JTA transaction hang.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)