Commit a05db9e
fix: default write mode to cosmos_only for stable seid v6.5.1
v0.0.18 defaulted WriteMode to memiavl_only, which the stable released
seid (v6.5.1) rejects with "invalid write mode: memiavl_only". Both
v6.5.1 and nightly run simultaneously, so new nodes without explicit
overrides broke on v6.5.1.
The sei-config default tracks the stable released binary: v6.5.1 accepts
cosmos_only. Nightly/main callers (SND templates) override to
memiavl_only explicitly. Bump the default when 6.6.0 ships memiavl_only.
This also corrects WriteMode.IsValid to accept the deprecated v1 modes
(cosmos_only, dual_write, split_write): they are real values the stable
binary consumes, not invalid input. The v1->v2 migration still renames
them, so migrated configs converge on the v2 names. No DefaultForVersion
abstraction is added — the binary-version axis is a single default value
plus a caller override, which the existing override pipeline handles.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent fce3db8 commit a05db9e
5 files changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
746 | | - | |
| 745 | + | |
| 746 | + | |
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | | - | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
131 | | - | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments