[hotfix] Rename PriorityQueueStateType.ROCKS into PriorityQueueStateType.ROCKSDB

上级 a4b4cb70
......@@ -324,7 +324,7 @@ public class RocksDBKeyedStateBackend<K> extends AbstractKeyedStateBackend<K> {
case HEAP:
this.priorityQueueFactory = new HeapPriorityQueueSetFactory(keyGroupRange, numberOfKeyGroups, 128);
break;
case ROCKS:
case ROCKSDB:
this.priorityQueueFactory = new RocksDBPriorityQueueSetFactory();
break;
default:
......
......@@ -22,7 +22,7 @@ import org.apache.flink.configuration.ConfigOption;
import org.apache.flink.configuration.ConfigOptions;
import static org.apache.flink.contrib.streaming.state.RocksDBStateBackend.PriorityQueueStateType.HEAP;
import static org.apache.flink.contrib.streaming.state.RocksDBStateBackend.PriorityQueueStateType.ROCKS;
import static org.apache.flink.contrib.streaming.state.RocksDBStateBackend.PriorityQueueStateType.ROCKSDB;
/**
* Configuration options for the RocksDB backend.
......@@ -43,5 +43,5 @@ public class RocksDBOptions {
.key("state.backend.rocksdb.timer-service.impl")
.defaultValue(HEAP.name())
.withDescription(String.format("This determines the timer service implementation. Options are either %s " +
"(heap-based, default) or %s for an implementation based on RocksDB.", HEAP.name(), ROCKS.name()));
"(heap-based, default) or %s for an implementation based on RocksDB.", HEAP.name(), ROCKSDB.name()));
}
......@@ -83,7 +83,7 @@ public class RocksDBStateBackend extends AbstractStateBackend implements Configu
*/
public enum PriorityQueueStateType {
HEAP,
ROCKS
ROCKSDB
}
private static final long serialVersionUID = 1L;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册