Open stuarteberg opened 4 years ago
So this raises a question we've debated before, which is whether an instance name should be allowed to refer to two different data instances in non-overlapping sub-DAGs. Each data instance has its own Data UUID but when you make a request using a name, the particular data instance is looked up by an internal DVID map.
The issue could be solved by rooting a data instance higher, but currently it doesn't let you create instances in locked nodes. (This would be relaxed in the future backend DAGStore.) But let's say that's allowed in the future, it would solve this issue to some degree. This doesn't solve the problem of wanting to group disjoint data instances that you didn't realize you wanted grouped but do now.
You believe, though, that my-test-labelmap
should allow mapping to any number of disjoint data instances since the (version UUID, instance name) tuple is sufficient to disambiguate. Correct?
For testing and development, it's often useful to create two test nodes in two different branches. But suppose I want to create a new instance named
my-test-labelmap
in each of the test nodes. I can create it in test nodeA
, but when I go to create it in test nodeB
, it doesn't work:That's because the labelmap already exists, albeit in a different branch. On the DVID console, my instance doesn't appear in the instance list for node
B
, but I CAN fetch its/info
.