Fix startup failures when aliases from a pre-1.9 vault version exist (#13169)
* Add AllowMissing to local_bucket_key schema, preventing startup failures in post-unseal when aliases from an older version exist.
This commit is contained in:
parent
9e27ccbae1
commit
c2d9215d1d
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
identity: Fix regression preventing startup when aliases were created pre-1.9.
|
||||||
|
```
|
|
@ -71,7 +71,8 @@ func aliasesTableSchema(lowerCaseName bool) *memdb.TableSchema {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"local_bucket_key": {
|
"local_bucket_key": {
|
||||||
Name: "local_bucket_key",
|
Name: "local_bucket_key",
|
||||||
|
AllowMissing: true,
|
||||||
Indexer: &memdb.StringFieldIndex{
|
Indexer: &memdb.StringFieldIndex{
|
||||||
Field: "LocalBucketKey",
|
Field: "LocalBucketKey",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue