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] [Resolved] (TEPHRA-271) Stopping transaction state cache should wait for the refresh thread to stop
Date Tue, 01 May 2018 23:53:00 GMT

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

Mime
View raw message