You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tephra.apache.org by "Poorna Chandra (JIRA)" <ji...@apache.org> on 2018/05/01 23:53:00 UTC

[jira] [Resolved] (TEPHRA-271) Stopping transaction state cache should wait for the refresh thread to stop

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

Poorna Chandra resolved TEPHRA-271.
-----------------------------------
    Resolution: Fixed

> Stopping transaction state cache should wait for the refresh thread to stop
> ---------------------------------------------------------------------------
>
>                 Key: TEPHRA-271
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-271
>             Project: Tephra
>          Issue Type: Improvement
>          Components: core
>            Reporter: Poorna Chandra
>            Assignee: Poorna Chandra
>            Priority: Major
>             Fix For: 0.14.0-incubating
>
>
> Transaction state cache has a background thread that refreshes transaction snapshots every now and then. This thread is started when transaction state cache is started, and stopped when transaction state cache is stopped. However, the stop does not wait for the thread to completely stop before returning. This can lead to race conditions when the calling code expects the thread to be completely stopped when transaction state cache is stopped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)