attic-labs / noms

The versioned, forkable, syncable database
Apache License 2.0
7.44k stars 266 forks source link

Collections with values from different ValueReadWriters #3648

Open arv opened 7 years ago

arv commented 7 years ago

Since c3f98d163133f834d3f8ff8111cf7d0a87c42f2d if is now possible to have a collection with values that have been stored in different ValueStores.

vs1 := newValueStore()
l1 := types.NewList(vs1)
vs2 := newValueStore()
l2 := types.NewList(vs2)
vs3 := newValueStore()
l3 := types.NewList(vs3, l1, l2)

This of course leads to failures on Commit. Should we try to fail earlier?

arv commented 7 years ago

@rafael-atticlabs