ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Schema: Add schema circular reference detection in validation #563

Closed dvstans closed 3 years ago

dvstans commented 3 years ago

In the back end code that validates schemas (not metadata), there is no logic to detect circular references (a -> b -> a).

dvstans commented 3 years ago

After analysis, it was realized that due to the write locking imposed on schemas that are referenced by other schemas, AND the fact that references must exist before references are allowed, it is not possible to create a circular schema reference, Closing this issue.