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 2017/12/16 00:48:00 UTC

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

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)