Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2046

The worktask can be timed out in TThreadPoolServer (Java) when the max# thrift thread is reached

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9.2
    • Java - Library
    • None
    • Patch Available

    Description

      Once the max# of thrift threads is reached, a new task (workprocess) is attempted to be executed in an infinite loop, then the client may hang.
      An improvement is to introduce a task timeout. after a certain time, if the task is still not got queued to be executed. It will be invalidated.

      Attachments

        1. THRIFT-2046.patch
          3 kB
          Chaoyu Tang
        2. THRIFT-2046_1.patch
          3 kB
          Chaoyu Tang
        3. THRIFT-2046_2.patch
          4 kB
          Chaoyu Tang
        4. THRIFT-2046_3.patch
          6 kB
          Chaoyu Tang
        5. THRIFT-2046_4.patch
          6 kB
          Chaoyu Tang
        6. THRIFT-2046_5.patch
          5 kB
          Brock Noland

        Issue Links

          Activity

            People

              brocknoland Brock Noland
              ctang Chaoyu Tang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: