VGalaxies commented on code in PR #2623:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2623#discussion_r1705506933


##########
hugegraph-store/hg-store-core/src/main/java/org/apache/hugegraph/store/meta/StoreMetadata.java:
##########
@@ -216,12 +216,12 @@ public String getPartitionRaftLocation(int partitionId) {
             synchronized (this) {
                 location = getPartitionRaft(partitionId);
                 if (location == null) {
-                    // 查找分区数最少的存储
+                    // Find the storage with the least number of partitions
                     location = Metapb.PartitionRaft.newBuilder()
                                                    .setPartitionId(partitionId)
                                                    
.setRaftLocation(getMinRaftLocation())
                                                    .build();
-                    // TODO 选择分区数最小的路径
+                    // TODO Select the path with the fewest partitions.

Review Comment:
   ```suggestion
                       // TODO: Select the path with the fewest partitions.
   ```



##########
hugegraph-store/hg-store-core/src/main/java/org/apache/hugegraph/store/util/HgStoreException.java:
##########
@@ -21,7 +21,7 @@ public class HgStoreException extends RuntimeException {
 
     public final static int EC_NOEXCEPT = 0;
     public final static int EC_FAIL = 1000;
-    //存储的数据格式不支持
+    //The data format stored is not supported.

Review Comment:
   ```suggestion
       // The data format stored is not supported.
   ```



##########
hugegraph-store/hg-store-core/src/main/java/org/apache/hugegraph/store/raft/RaftOperation.java:
##########
@@ -87,7 +87,7 @@ public static RaftOperation create(final byte op, final 
Object req) {
     public static RaftOperation create(final byte op,
                                        final 
com.google.protobuf.GeneratedMessageV3 req) throws
                                                                                
          IOException {
-        // 序列化,
+        // Serialization, 

Review Comment:
   ```suggestion
           // Serialization
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to