tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Poorna Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEPHRA-271) Stopping transaction state cache should wait for the refresh thread to stop
Date Thu, 26 Apr 2018 00:24:00 GMT

    [ https://issues.apache.org/jira/browse/TEPHRA-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453279#comment-16453279
] 

Poorna Chandra commented on TEPHRA-271:
---------------------------------------

This will be fixed as part of JIRA https://issues.apache.org/jira/browse/TEPHRA-270

> 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)

Mime
View raw message