You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Liu (Jira)" <ji...@apache.org> on 2021/08/10 07:45:00 UTC

[jira] [Created] (FLINK-23699) The code comment's reference is wrong for the function isUsingFixedMemoryPerSlot

Liu created FLINK-23699:
---------------------------

             Summary: 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
            Reporter: Liu


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)