You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2019/09/03 08:01:00 UTC
[jira] [Commented] (RATIS-659) StateMachineUpdater#stopAndJoin
might not take snapshot due to race condition
[ https://issues.apache.org/jira/browse/RATIS-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921231#comment-16921231 ]
Lokesh Jain commented on RATIS-659:
-----------------------------------
[~szetszwo] Thanks for reviewing and committing the patch!
> StateMachineUpdater#stopAndJoin might not take snapshot due to race condition
> -----------------------------------------------------------------------------
>
> Key: RATIS-659
> URL: https://issues.apache.org/jira/browse/RATIS-659
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: RATIS-659.001.patch
>
>
> StateMachineUpdater might not take snapshot during close. This might happen if the StateMachineUpdater#stopAndJoin is called right after the snapshot check in StateMachineUpdater:156-162.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)