Support unversioned data directory (i.e. data shared between versions)
Bug #1559248 reported by
Kyle Fazzari
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Kyle Fazzari | ||
snap-confine |
Invalid
|
Undecided
|
Kyle Fazzari |
Bug Description
Updating a snap from version 1 to version 2 involves copying all of version 1's data into version 2's data directory. This works great for rollbacks etc. but it doesn't scale well for projects with a vast amount of data, e.g. ownCloud (my personal ownCloud data directory is on the order of hundreds of GBs).
Snappy should add support for unversioned data directories that are shared between versions rather than copied. This can be used to great effect in conjunction with the versioned data directories (e.g. database can be versioned, but raw data unversioned, etc.)
Related branches
lp:~kyrofa/snap-confine/create_user_common_data
Ready for review
for merging
into
lp:~snappy-dev/snap-confine/trunk
- Snappy Developers: Pending requested
-
Diff: 292 lines (+140/-46)2 files modifiedsrc/main.c (+41/-6)
tests/test_create_user_data (+99/-40)
Changed in snappy: | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in snappy: | |
assignee: | Didier Roche (didrocks) → Kyle Fazzari (kyrofa) |
Changed in ubuntu-core-launcher: | |
assignee: | nobody → Kyle Fazzari (kyrofa) |
Changed in snappy: | |
status: | Triaged → Fix Committed |
Changed in snappy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This should fix: https:/ /github. com/ubuntu- core/snappy/ pull/1095