[ 
https://issues.apache.org/jira/browse/FLINK-23699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liu updated FLINK-23699:
------------------------
    Component/s: Runtime / State Backends

> The code comment's reference is wrong for the function 
> isUsingFixedMemoryPerSlot
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-23699
>                 URL: https://issues.apache.org/jira/browse/FLINK-23699
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / State Backends
>            Reporter: Liu
>            Priority: Minor
>
> The code is as follow. USE_MANAGED_MEMORY should be FIX_PER_SLOT_MEMORY_SIZE.
> /**
>  * Gets whether the state backend is configured to use a fixed amount of 
> memory shared between
>  * all RocksDB instances (in all tasks and operators) of a slot. See {@link
>  * RocksDBOptions#USE_MANAGED_MEMORY} for details.
>  */
> public boolean isUsingFixedMemoryPerSlot() {
>  return fixedMemoryPerSlot != null;
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to