Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12509

Tighten up StateDirectory thread locking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • streams

    Description

      The StateDirectory class is responsible for tracking the ownership of task directories, which may be locked by StreamThreads, the cleaner thread, or a user thread via KafkaStreams.cleanup(). It maintains a map from TaskId to the name of the owning thread.

      We should consider tightening this up a bit and using a reference to the actual Thread instead of just the name.

      Attachments

        Issue Links

          Activity

            People

              ketulgupta Ketul Gupta
              ableegoldman A. Sophie Blee-Goldman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: