)]}'
{
  "commit": "fdb114a08607061308a0514f785ed1fe8be91c98",
  "tree": "bd6db8822d78347931d91da78b9c05307408a88c",
  "parents": [
    "fc8e42bb1dd42c3d1f826521c0960d23e199844e"
  ],
  "author": {
    "name": "imbajin",
    "email": "jin@apache.org",
    "time": "Mon Apr 20 21:13:39 2026 +0800"
  },
  "committer": {
    "name": "imbajin",
    "email": "jin@apache.org",
    "time": "Mon Apr 20 21:13:39 2026 +0800"
  },
  "message": "fix(pd): complete GET / stats fix and add test coverage\n\n- Use pdService.getMembers() for memberSize (consistent with cluster())\n  instead of RaftEngine directly, as suggested in issue #3002 discussion\n- Add dataState field to BriefStatistics: exposes worst partition health\n  state across all graphs, the most useful missing operational indicator\n- Align graphSize to count only user-facing graphs (endsWith(\"/g\")),\n  matching the semantics of cluster() to avoid silent count discrepancy\n- Add testQueryIndexInfo() to both RestApiTest classes to assert state,\n  leader, memberSize \u003e 0, and storeSize \u003e 0 — catches this class of bug\n\nCloses #3002\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c5ce282c4a04c3ab23d8288dc6b58b13f21330c0",
      "old_mode": 33188,
      "old_path": "hugegraph-pd/hg-pd-service/src/main/java/org/apache/hugegraph/pd/rest/IndexAPI.java",
      "new_id": "bee39f23ed87bae6964f8b233949bae5305f2494",
      "new_mode": 33188,
      "new_path": "hugegraph-pd/hg-pd-service/src/main/java/org/apache/hugegraph/pd/rest/IndexAPI.java"
    },
    {
      "type": "modify",
      "old_id": "2d6f4f054b0e76b0f7259990413dfc7bea03d1ff",
      "old_mode": 33188,
      "old_path": "hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/rest/RestApiTest.java",
      "new_id": "86846f218bf5fe46eea9d1a1913e189c7aea30f6",
      "new_mode": 33188,
      "new_path": "hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/rest/RestApiTest.java"
    },
    {
      "type": "modify",
      "old_id": "d4c9cd121ef164a902ba8239902177d18b33bf51",
      "old_mode": 33188,
      "old_path": "hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/service/RestApiTest.java",
      "new_id": "c1dcd26f18c77a0bf7a3de0d954bdd1f7357bc38",
      "new_mode": 33188,
      "new_path": "hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/service/RestApiTest.java"
    }
  ]
}
