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] [Created] (TEPHRA-271) Stopping transaction state cache should wait for the refresh thread to stop
Date Sat, 16 Dec 2017 00:48:00 GMT
Poorna Chandra created TEPHRA-271:
-------------------------------------

             Summary: 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
             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
(v6.4.14#64029)

Mime
View raw message