Skip to content

Commit dc36aa7

Browse files
authored
Merge pull request ceph#53720 from ljflores/bz_2241104
osd: fix logic in check_pg_upmaps Reviewed-by: Samuel Just <[email protected]>
2 parents 08904a0 + ae11bbe commit dc36aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/osd/OSDMap.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,8 +2179,8 @@ bool OSDMap::check_pg_upmaps(
21792179
<< j->first << " " << j->second
21802180
<< dendl;
21812181
to_cancel->push_back(pg);
2182-
} else {
2183-
//Josh--check partial no-op here.
2182+
} else if (newmap != j->second) {
2183+
// check partial no-op here.
21842184
ldout(cct, 10) << __func__ << " simplifying partially no-op pg_upmap_items "
21852185
<< j->first << " " << j->second
21862186
<< " -> " << newmap

0 commit comments

Comments
 (0)