Commit 35de00c
committed
bundle/deploy/lock: wire DMS into NewDeploymentLock via experimental.use_managed_state
When experimental.use_managed_state is set in databricks.yml, NewDeploymentLock
now creates a metadataServiceLock alongside the workspace-filesystem lock.
Acquire calls DMS CreateVersion after acquiring the file lock; Release calls
DMS CompleteVersion before releasing it.
Co-authored-by: Shreyas Goenka <shreyas.goenka@databricks.com>1 parent de9adfd commit 35de00c
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
0 commit comments