dotmesh-io / dotmesh

dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes
https://dotmesh.com
Apache License 2.0
539 stars 29 forks source link

[2d] Allow 'mount-snapshot' events in many more state machine handlers #723

Open binocarlos opened 4 years ago

binocarlos commented 4 years ago

User requirement

As a user of dotscience, I want to be able to view any previous snapshot so that even if a transition is happening to a later snapshot - I can still view files in the snapshot I am interested in

This happens for example when trying to view files whilst a dot is in 'pushPeerState' - we are unable to mount a read only snapshot because it's only the active state that handles the mount-snapshot event.

This will break many things for dotscience whilst large files are being uploaded from the runner

Key acceptance criteria