You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yuxin Tan (Jira)" <ji...@apache.org> on 2023/03/10 08:30:00 UTC
[jira] [Created] (FLINK-31396) Occasional inaccurate timeout time calculation with System.nanotime in batch read buffer pool
Yuxin Tan created FLINK-31396:
---------------------------------
Summary: Occasional inaccurate timeout time calculation with System.nanotime in batch read buffer pool
Key: FLINK-31396
URL: https://issues.apache.org/jira/browse/FLINK-31396
Project: Flink
Issue Type: Bug
Components: Runtime / Network
Reporter: Yuxin Tan
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)