Commit 9d24f59
authored
feat(v2): move default storage paths under ./data/v2/ (#4978)
* feat(v2): move default storage paths under ./data/v2/
Ensures all persistent V2 storage (metastore raft WAL, snapshots, and
FSM BoltDB) defaults to paths under ./data/v2/, so Docker users mounting
-v storage:/data have all state inside the volume.
* fix(helm): pin metastore data dirs to old paths to avoid breaking upgrades
The binary defaults for metastore.data-dir, metastore.raft.dir, and
metastore.raft.snapshots-dir changed from ./data-metastore/* to
./data/v2/metastore/*. Explicitly set the old paths in the Helm chart
so existing deployments don't lose their data on upgrade.1 parent e2e01c0 commit 9d24f59
5 files changed
Lines changed: 17 additions & 2 deletions
File tree
- operations/pyroscope/helm/pyroscope
- rendered
- templates
- pkg/metastore
- fsm
- raftnode
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3384 | 3384 | | |
3385 | 3385 | | |
3386 | 3386 | | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
3387 | 3390 | | |
3388 | 3391 | | |
3389 | 3392 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
1431 | 1434 | | |
1432 | 1435 | | |
1433 | 1436 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
105 | 114 | | |
106 | 115 | | |
107 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments