Commit 6eb0dae
committed
messages: fix MOSDOpReplay decode of old version bad_replay_version
When decoding an old version of MOSDOpReplay or when the PGID64
feature is enabled, bad_replay_version is not being set, which
causes inconsistent output in ceph-dencoder.
To fix this, set bad_replay_version to the head reassert_version
value. This ensures that if the struct is later re-encoded, the
decode output will be consistent.
Fixes: https://tracker.ceph.com/issues/69814
Signed-off-by: Nitzan Mordechai <[email protected]>1 parent a10b771 commit 6eb0dae
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
0 commit comments