yecol commented on issue #548:
URL: 
https://github.com/apache/incubator-graphar/issues/548#issuecomment-2251879274

   Hi @jasinliu, I think this question does not come from the separate 
placement of metadata and files. 
   The situation you mentioned, by only change the metadata is allowed and 
evenly by design:
   
   > e.g., a user has a graph G with edges labeled A/B/C, and vertices labeled 
C/D. 
   He/She can easily generate a G' with edges labeled A and vertices labeled C, 
   by only copying/modifying the metadata M'.
   
   Hence, for the validation tool, I suggest it may not check the pairing 
unmodified. But to validate these:
   - the modified metadata is self-valid. e.g., in the example above, in the M' 
for G', the edges A are connecting ONLY the vertices labeled C, otherwise the 
G' lack vertices. 
   - For the storage files, I suggest in the metadata should record each file 
location and its digest/MD5, to ensure there is no modification since last 
archive. When loading, check the MD5 to ensure the payload of the data is what 
you intend to read.
   
   
    


-- 
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]

Reply via email to