You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the pdconfig property in the LogMeta and PartitionMeta classes is indeed redundant, given that it is already defined in the MetadataRocksDBStore class. This redundancy should be refactored to improve the code design.
Supporting evidence from the provided code:
The PartitionMeta class extends MetadataRocksDBStore and already has a pdConfig property.
The PartitionMeta constructor initializes the pdConfig property by calling super(pdConfig) and then assigns it to this.pdConfig.
Since MetadataRocksDBStore already has the pdConfig property, having it again in LogMeta and PartitionMeta is unnecessary and should be refactored [1][2].
Bug Type (问题类型)
logic (逻辑设计问题)
Before submit
Environment (环境信息)
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
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
The text was updated successfully, but these errors were encountered: