Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31396

Occasional inaccurate timeout time calculation with System.nanotime in batch read buffer pool

    XMLWordPrintableJSON

Details

    Description

      When running TPC-DS tests, I encountered the read buffer request timeout because of configuring too less read buffers. But I found the timeout time may be less than 5m occasionally, 5m is the expected time.
      I read the docs of System.nanotime, the docs say that t1 < t0 should not be used, because of the possibility of numerical overflow. I tested the System.currentTimeMillis and it can work as expected.

      Attachments

        Issue Links

          Activity

            People

              tanyuxin Yuxin Tan
              tanyuxin Yuxin Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: