Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect partition id is generated in SST mode #81

Closed
xiajingchun opened this issue Jun 8, 2022 · 0 comments
Closed

Incorrect partition id is generated in SST mode #81

xiajingchun opened this issue Jun 8, 2022 · 0 comments

Comments

@xiajingchun
Copy link
Contributor

Description

The GetPartitionId algorithm in Exchange is not aligned with Nebula Graph, as a results, string vids with size of 8 might be assigned to a wrong patition, after ingestion, the vertices can't be fetched.

Take a look at the code in Nebula Graph, you will see the main difference is Exchange always hash string vids, while Nebula will take any byte[8] as uint64.

xiajingchun added a commit to xiajingchun/nebula-exchange that referenced this issue Jun 9, 2022
Nicole00 pushed a commit that referenced this issue Jun 29, 2022
* fix issue #81

* take care of endianess when converting byte array to long

* take care of endieness in a good way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants