Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1700

ThreadLocal does not release pthread keys or log properly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.20.0
    • stout
    • None
    • Q3 Sprint 3

    Description

      The ThreadLocal<T> abstraction in stout does not release the allocated pthread keys upon destruction:

      https://github.com/apache/mesos/blob/0.19.1/3rdparty/libprocess/3rdparty/stout/include/stout/thread.hpp#L22

      It also does not log the errors correctly. Fortunately this does not impact mesos at the current time.

      Attachments

        Activity

          People

            bmahler Benjamin Mahler
            bmahler Benjamin Mahler
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: