Commit Graph

9 Commits

Author SHA1 Message Date
Joshua Moody
43318cd24f enhancements: Add LEP for backupstore file locks
The idea is to implement a locking mechanism that utilizes the backupstore,
to prevent the following dangerous cases of concurrent operations.
1. prevent backup deletion during backup restoration
2. prevent backup deletion while a backup is in progress
3. prevent backup creation during backup deletion
4. prevent backup restoration during backup deletion

The locking solution shouldn't unnecessary block operations, so the
following cases should be allowed.
1. allow backup creation during restoration
2. allow backup restoration during creation

The locking solution should have a maximum wait time for lock acquisition,
which will fail the backup operation so that the user does not have to wait
forever.

The locking solution should be self expiring, so that when a process dies
unexpectedly, future processes are able to acquire the lock.

The locking solution should guarantee that only a single type of lock is
active at a time.

The locking solution should allow a lock to be passed down into async
running go routines.

Longhorn #612

Signed-off-by: Joshua Moody <joshua.moody@rancher.com>
2020-07-07 10:09:24 -07:00
Michael William Le Nguyen
063db2bc5d enhancements: Add LEP for Volume deletion logic
Signed-off-by: Michael William Le Nguyen <michael@mail.ttp.codes>
2020-07-01 12:20:02 -07:00
Sheng Yang
c3bf0238ac enhancement: Add API Changes in the template
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-31 16:45:38 -07:00
Sheng Yang
92bb35b2f3 enhancement: replace filesystem ID key in Disk map
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-31 16:42:19 -07:00
Sheng Yang
e02b763e91 enhancement: Update template
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-20 10:05:37 -07:00
Sheng Yang
0745f00b09
Update 20200319-default-disks-and-node-configuration.md
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-20 10:03:41 -07:00
Shuo Wu
4726f112b5 enhancements: Add design doc default-disk-and-node-tag-setup
Longhorn #991, #1053

Signed-off-by: Shuo Wu <shuo@rancher.com>
2020-03-20 10:00:12 -07:00
Sheng Yang
dc89143faa
Update YYYYMMDD-template.md
Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-19 12:52:17 -07:00
Sheng Yang
70ef3fc8f2 Add enhancements document template
Heavily borrowed from Kubernetes KEP template.

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-03-17 11:48:15 -07:00