dosubot[bot] commented on issue #3042: URL: https://github.com/apache/hugegraph/issues/3042#issuecomment-4562495044
<!-- Answer --> This "partition g-32 not find" error after restart is a known pattern with the hstore backend in distributed deployments. A few things to check: **Startup sequence matters** — the correct order is: PD nodes first (wait for leader election) → Store nodes (wait for partition assignment) → Server nodes [[1]](https://github.com/apache/hugegraph/issues/3007). If the store starts before PD has fully initialized and assigned partitions, you'll get "partition not found" errors. **PD leader election issue** — there's a bug (fixed in PR #2961) where after cluster restart, if PD Raft elects a *different* leader than before, the cluster can become non-functional due to a `NullPointerException` in the redirect mechanism [[2]](https://github.com/apache/hugegraph/issues/3001). If you're on 1.5.0, check whether this fix is included in your version. **Troubleshooting steps:** 1. After starting PD, verify the leader is properly elected before starting stores 2. Check if the store is registered with PD via the `/v1/stores` endpoint 3. Check partition status via the `/v1/partitions` endpoint 4. Wait 1-3 minutes after all stores register for partition assignment to complete [[3]](https://github.com/apache/hugegraph/blob/9126c80e414c073b60fc074361b211cfb409e0eb/docker/README.md#L243-L250) **If the issue persists**, can you share: - How many PD/Store/Server nodes are in your cluster? - Did the PD leader change after restart (different node became leader)? - The full PD and store error logs (the images are hard to parse for specifics)? This may also relate to a serialization compatibility issue documented in issue #3007 if your data was written by a different version [[4]](https://github.com/apache/hugegraph/issues/3007). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fhugegraph).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fhugegraph). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fhugegraph&message_id=8f755e17-f929-4b8f-97f1-52c625ec6c74) [](https://github.dosu.com/apache/hugegraph?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fhugegraph) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fhugegraph) -- 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]
