Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3451

Add timeout to XceiverServerRatis#submitRequest call

    XMLWordPrintableJSON

Details

    Description

      There are cases where org.apache.hadoop.ozone.container.common.transport.server.ratis.XceiverServerRatis#submitRequest call waits forever blocking the thread which calls it.

      This is causing a problem with the CommandHanler thread in Datanode. The CommandHandler thread is blocked on XceiverServerRatis#submitRequest because of which all the subsequent commands sent by SCM are not getting processed in datanode.

      We should add a timeout for this call and throw TimeoutException.

      Attachments

        Issue Links

          Activity

            People

              nanda Nandakumar
              nilotpalnandi Nilotpal Nandi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: