Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-271

Stopping transaction state cache should wait for the refresh thread to stop

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0-incubating
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            poorna Poorna Chandra
            poorna Poorna Chandra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: