bbengfort / cloudscope

Simulation and visualization of distributed systems and communications.
http://bbengfort.github.io/cloudscope/
MIT License
1 stars 0 forks source link

Create two versions with same name #51

Open bbengfort opened 8 years ago

bbengfort commented 8 years ago

It is possible to create two versions with the same name in the case where the first replica writes to object A and then a second replica writes to object A before it becomes locally visible:

a1 = Version.new('A') 
a2 = Version.new('A') 

a1 is a2 # False  

a1i = a1()  # root -> A.1
a2i = a2()  # root -> A.1 

a2i.fork() 

print a1i  # root -> A.1
print a2i  # A.1 -> A.2

Not sure what to do about this, since it's real life as well.