]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: fix Incremental decode for new/old_pg_upmap_primary
authorLaura Flores <lflores@ibm.com>
Mon, 11 Dec 2023 03:51:50 +0000 (03:51 +0000)
committerLaura Flores <lflores@ibm.com>
Tue, 2 Jan 2024 18:59:12 +0000 (18:59 +0000)
commit1a8b85dcecc9e0e32b1c874559aa8a8990808b57
tree15da9736944e7f247afdee3c56ed669a658610e0
parent12a02e6e3092b5c3fedf3426d34e0d452380a71f
osd: fix Incremental decode for new/old_pg_upmap_primary

Should have been included in commit e9921ee76c060122d64e61a2fe483318a49bc0a9.
The impact is not major; the effect is that the osdmap
is not properly updated whenever the Incremental is reused.
Since the current read balancer offline tool uses a new Incremental
every time it's run, the balancing works as expected. This fix will be
necessary, however, for the mgr module integration in https://github.com/ceph/ceph/pull/53988
since we will need to reuse the Incremental.

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 07c8087e59d53820543d95bb3752582b6c10045d)
src/osd/OSDMap.cc