mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 05:23:04 +00:00
a8d08e759f
This operation would previously fail due to unconsumed bytes in the decoder buffer when reading the Ent snapshot (the first byte of the record would be misinterpreted as a type indicator, and the remaining bytes would fail to be deserialized or read as invalid data). Ensure restore succeeds by decoding the ignored record as an interface{}, which will consume the record bytes without requiring a concrete target struct, then moving on to the next record.
4 lines
92 B
Plaintext
4 lines
92 B
Plaintext
```release-note:bug
|
|
server: fix Ent snapshot restore on CE when CE downgrade is enabled
|
|
```
|