-
Notifications
You must be signed in to change notification settings - Fork 30
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
resource uids are not unique #112
Comments
Multiple runs can refer to resources with the same uid, this means that these runs also share datum, because datum looked up by resource uid. The name |
But if there is not an index enforcing it.... I think there is an index enforcing that the datum_ids in the Datum collection are unique. It is allowed for events from multiple runs to refer to the same datum if they really do share data (the primary driver here is for backgrounds). This is a bit of an edge case because we want:
Previously, ophyd objects directly inserted the resource/datum into data broker (which got point 3 and 1). To fix this we changed how those documents got routed, added the There is something nice about having the duplicated Resource documents share a resource uid as that is the key we use to determine if we need another handler and these all should be able to share said handler. |
The text was updated successfully, but these errors were encountered: