Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    1. state.backend.*: specific options for individual state backends, such as RocksDB.
    2. state.changelog: configurations for the changelog, as outlined in FLIP-158, including the options for the "Durable Short-term Log" (DSTL).
    3. state.latency-track: configurations related to the latency tracking of state access.

Additional key naming rule for boolean type options (In discussion): ONLY add 'enabled' when there are more detailed configurations under the same prefix, to prevent one name from serving as a prefix to another. Otherwise, do not add 'enabled' as suffix.

Please note that this FLIP does not change any state accessing, checkpointing and recovery logic. To be more specific, the detailed migration plan for the individual options is as follows:

...

Original (Current) option

Proposed New option

Note

state.checkpoints.num-retained

execution.checkpointing.num-retained


state.checkpoint.cleaner.parallel-mode

execution.checkpointing.cleaner.parallel-mode


state.backend.incremental

execution.checkpointingcheckpoint.incrementaltype

execution.checkpointcheckpointing.typeincremental

(In discussion)

an enumeration option which can be 'full' (default) or 'incremental'

state.backend.local-recovery

execution.checkpointing.local-copy.enabled

Whether to do checkpoint on local disk, another option execution.recovery.from-local is added to control the behavior of recovery from local

taskmanager.state.local.root-dirs


execution.checkpointing.local-copy.dir


state.savepoints.dir

execution.checkpointing.savepoint.dir


state.checkpoints.dir

state.checkpoint-storage

execution.checkpointing.dir

One URI is enough for specifying the checkpoint directory and storage. 'jobmanager' and 'jm://' are special URI for job manager based storage.

state.storage.fs.memory-threshold


execution.checkpointing.data-inline-threshold


state.storage.fs.write-buffer-size

execution.checkpointing.write-buffer-size


...