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

Fix possibility of deadlocking in refreshFileConnections when prefetch is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-2, 1.4.2
    • 1.4.4, 2.0.0
    • BucketCache
    • None
    • Reviewed

    Description

      When prefetch on open is specified, there is a deadlocking case
      where if the prefetch is cancelled, the PrefetchExecutor interrupts
      the threads if necessary, when that happens in FileIOEngine, it
      causes an ClosedByInterruptException which is a subclass of
      ClosedChannelException. If we retry all ClosedChannelExceptions,
      this will lock as this access is expected to be interrupted.
      This change removes calling refreshFileConnections for
      ClosedByInterruptExceptions.

      Attachments

        Issue Links

          Activity

            People

              zyork Zach York
              zyork Zach York
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: