J
JanusGraph•3mo ago
HailDevil

Decoding graphindex values for debugging purpose

I need a help here to be able to decode graphindex table values, I see that it has three columns "key, column1, value", where PRIMARY KEY(key, column1) why column1 is kept as part of the key? Is there any documentation to understand this design? Also, i am able to to decode the row values with some dirty hex to text decoding, but I see there are some paddings added to the hex values, can you please help me how can i decode the values exactly? For instance, there is a value 0x015b704a00e0 stored in "value" column of graphindex table, Using straight hex decoding i get : 1492237549792, but I do not see any vertex in my graph with this vertex id, so i assume probably there are some extra bits added to the "value" column. It will be a really help if someone can explain me this. Thanks a lot. Counting on you guys 😦
5 Replies
HailDevil
HailDevilOP•2mo ago
@porunov @Bo can you please help here? 😦
Bo
Bo•2mo ago
I might have answered a similar question on the user mailing list
HailDevil
HailDevilOP•2mo ago
can you please share it?
Bo
Bo•2mo ago
Sorry I was wrong. They were asking about EdgeStore You are looking for IndexSerializer.java, if you're willing to dig into the source code
HailDevil
HailDevilOP•2mo ago
Thanks @Bo , i will look into it
Want results from more Discord servers?
Add your server