haohao0103 opened a new issue, #2595:
URL: https://github.com/apache/incubator-hugegraph/issues/2595

   ### Bug Type (问题类型)
   
   rest-api (结果不合预期)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/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)
   
   
   ### Expected & Actual behavior (期望与实际表现)
   
   curl http://xxx:8620/v1/partitions
   
   results:
   
   ```
   {
         "id": 1,
         "version": 0,
         "graphName": "hugegraph/g",
         "startKey": 4096,
         "endKey": 8192,
         "workState": "PState_Normal",
         "shards": [{
           "address": "xx.xx.xx.xx:8501",
           "storeId": "6314496415565905494",
           "role": "Leader",
           "state": "SState_Normal",
           "progress": 0,
           "committedIndex": "12431845",
           "partitionId": 0
         }, {
           "address": "xx.xx.xx.xx:8501",
           "storeId": "8302673618813851034",
           "role": "Follower",
           "state": "SState_Normal",
           "progress": 0,
           "committedIndex": "12431846",
           "partitionId": 0
         }, {
           "address": "xx.xx.xx.xx:8501",
           "storeId": "5373255851016283814",
           "role": "Follower",
           "state": "SState_Normal",
           "progress": 0,
           "committedIndex": "12431853",
           "partitionId": 0
         }],
         "timestamp": "2024-07-18 15:59:41"
       }, {
         "id": 2,
         "version": 0,
         "graphName": "hugegraph/g",
         "startKey": 8192,
         "endKey": 12288,
         "workState": "PState_Normal",
         "shards": [{
           "address": "xx.xx.xx.xx:8501",
           "storeId": "8302673618813851034",
           "role": "Follower",
           "state": "SState_Normal",
           "progress": 0,
           "committedIndex": "12258651",
           "partitionId": 0
         }, {
           "address": "xx.xx.xx.xx:8501",
           "storeId": "5373255851016283814",
           "role": "Follower",
           "state": "SState_Normal",
           "progress": 0,
           "committedIndex": "12258651",
           "partitionId": 0
         }, {
           "address": "xx.xx.xx.xx:8501",
           "storeId": "487476059461220547",
           "role": "Leader",
           "state": "SState_Normal",
           "progress": 0,
           "committedIndex": "12258651",
           "partitionId": 0
         }],
         "timestamp": "2024-07-18 15:59:42"
       }
   
   ```
   the partition IDs in the shards list of the returned data are all 0
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
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: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to