jasinliu commented on issue #548: URL: https://github.com/apache/incubator-graphar/issues/548#issuecomment-2251902625
> 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 even by design: > > > e.g., a user has a graph G with edges labeled A/B/C, and vertices labeled D/E. > > He/She can easily generate a G' with edges labeled A and vertices labeled D, > > 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 D, 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. Thank you very much, this is a very good suggestion. This suggestion provides such an idea that one storage file can correspond to multiple different graph data. -- 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]
