[hotfix] Use default value of RocksDBOptions#TIMER_SERVICE_IMPL

In order to fully enable the RocksDBOptions#TIMER_SERVICE_IMPL we should use the default value
of this config option instead of "".
上级 8db5ca6b
......@@ -271,7 +271,7 @@ public class RocksDBStateBackend extends AbstractStateBackend implements Configu
this.enableIncrementalCheckpointing = original.enableIncrementalCheckpointing.resolveUndefined(
config.getBoolean(CheckpointingOptions.INCREMENTAL_CHECKPOINTS));
final String priorityQueueTypeString = config.getString(TIMER_SERVICE_IMPL.key(), "");
final String priorityQueueTypeString = config.getString(TIMER_SERVICE_IMPL);
this.priorityQueueStateType = priorityQueueTypeString.length() > 0 ?
PriorityQueueStateType.valueOf(priorityQueueTypeString.toUpperCase()) : original.priorityQueueStateType;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册