camsas / firmament

The Firmament cluster scheduling platform
Apache License 2.0
415 stars 79 forks source link

AddResourceTopologyDFS doesn't fail when we try to add a resource twice. #41

Open ICGog opened 8 years ago

ICGog commented 8 years ago

AddResourceTopologyDFS silently updates the topology when called twice on the same resource. It should crash upon second call, but it cannot do that for now because the Coordinator doesn't fully adhere to the single call per resource policy.