Commit 0b561fd
committed
refactor: drop setMigrationMode from MigrationBackfillStorage
migration_mode is already a @JsonProperty on PostgreSQLConfig (and exposed
via getValidFields()), so the existing multitenancy CRUD endpoint already
covers updating it via coreConfig:
PUT /recipe/multitenancy/connectionuridomain/v2
{ "coreConfig": { "migration_mode": "DUAL_WRITE_READ_OLD" } }
That path persists via overwriteTenantConfig + refreshAfterKnownTenantChange,
which rebuilds the storage's config from the persisted JSON. No separate
storage-interface write method is needed.1 parent d2bdec4 commit 0b561fd
1 file changed
Lines changed: 6 additions & 5 deletions
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments