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

DM shows dirty data globally rather than on the branch #396

Open eliasweingaertner opened 6 years ago

eliasweingaertner commented 6 years ago

Surfaced during Kubecon hackathon:

dm dot show shows dirty data globally and refulles to pull, even if the dirty data exists on a different branch rather than the active one.

This causes error messages like

dm pull dothub Pulling admin/moby_counter from dothub:elias/moby_counter Response '{"jsonrpc":"2.0","error":{"code":-32000,"message":"Aborting because there are 0.01 MiB of uncommitted changes on volume where data would be written. Use 'dm reset' to roll back.","data":null},"id":8674665223082153551} ' yields error Aborting because there are 0.01 MiB of uncommitted changes on volume where data would be written. Use 'dm reset' to roll back.

See also attached screenshot bug-dm

lukemarsden commented 6 years ago

Plan to fix