Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.20.0
-
The semantics of state.backend.rocksdb.checkpoint.transfer.thread.num changed slightly: If negative, the common (TM) IO thread pool is used (see cluster.io-pool.size) for up/downloading RocksDB files
Description
Currently, each RocksDB state backend creates an executor backed by a thread pool.
This makes it difficult to control the total number of threads per TM because it might have at least one task per slot and theoretically, many state backends per task (because of chaining).
Additionally, using a common thread pool allows to indirectly control the load on the underlying DFS (e.g. the total number of requests to S3 from a TM).
Attachments
Issue Links
- links to