Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13007

Fix the test timeouts being caused by ChoreService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      TestChoreService has been seen timing out in recent builds and the timeouts seem to be rooted in how the ChoreService cancels its chores when being shutdown. The issue is that during shutdown, the ChoreService calls synchronized methods on the ScheduledChore which could cause indefinite blocking if the scheduled chore is hanging in a synchronized method. We should instead call the appropriate cancel method within the ChoreService and add logic into ScheduledChores that allows them to realize when they have been cancelled.

      Attachments

        1. HBASE-13007-v1.patch
          11 kB
          Jonathan Lawlor
        2. HBASE-13007-v2.patch
          9 kB
          Jonathan Lawlor
        3. HBASE-13007-v2.patch
          9 kB
          Jonathan Lawlor
        4. HBASE-13007-v2.patch
          9 kB
          Jonathan Lawlor

        Activity

          People

            jonathan.lawlor Jonathan Lawlor
            jonathan.lawlor Jonathan Lawlor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: