- Notifications
You must be signed in to change notification settings - Fork 567
Closed
Labels
bugSomething isn't workingSomething isn't workingpdPD modulePD modulerocksdbRocksDB backendRocksDB backend
Description
Bug Type (问题类型)
logic (逻辑设计问题)
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
- Server Version: 1.5.0 (Apache Release Version)
- Backend: RocksDB x nodes, HDD
Expected & Actual behavior (期望与实际表现)
The pdconfig property in LogMeta and PartitionMeta is redundant
MetadataRocksDBStore has already defined the pdConfig property, it seems no need to redefine it in the subclass PartitionMeta
public class MetadataRocksDBStore extends MetadataStoreBase { HgKVStore store; PDConfig pdConfig; public MetadataRocksDBStore(PDConfig pdConfig) { store = MetadataFactory.getStore(pdConfig); this.pdConfig = pdConfig; } public class PartitionMeta extends MetadataRocksDBStore { static String CID_GRAPH_ID_KEY = "GraphID"; static int CID_GRAPH_ID_MAX = 0xFFFE; private final PDConfig pdConfig; private final PartitionCache cache; public PartitionMeta(PDConfig pdConfig) { super(pdConfig); this.pdConfig = pdConfig; //this.timeout = pdConfig.getEtcd().getTimeout(); this.cache = new PartitionCache(); } Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpdPD modulePD modulerocksdbRocksDB backendRocksDB backend
Type
Projects
Status
Done