Skip to content

Commit

Permalink
[hotfix] Use default value of RocksDBOptions#TIMER_SERVICE_IMPL
Browse files Browse the repository at this point in the history
In order to fully enable the RocksDBOptions#TIMER_SERVICE_IMPL we should use the default value
of this config option instead of "".
  • Loading branch information
tillrohrmann committed Jul 16, 2018
1 parent 8db5ca6 commit 6bba0e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ private RocksDBStateBackend(RocksDBStateBackend original, Configuration config)
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;
Expand Down

0 comments on commit 6bba0e7

Please sign in to comment.