]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osdmap_gate: sort the blockers in ascending order of map epoch
authorXuehan Xu <xxhdx1985126@163.com>
Wed, 1 Apr 2020 11:52:25 +0000 (19:52 +0800)
committerXuehan Xu <xxhdx1985126@163.com>
Sun, 26 Apr 2020 07:46:35 +0000 (15:46 +0800)
commitff08cb6b3671f5ae7381da77919b22ecf2926103
tree783264ffa58af48f2c9e68a57c1b4ce4011af1d8
parent8ff09f2da93b8162b6ce8b33e1387fde8908455b
crimson/osdmap_gate: sort the blockers in ascending order of map epoch

When the osdmap_gate got a new map, it's supposed to release blocked ops on
all previous maps section of which is represented by [waiting_peering.begin(),
waiting_peering.upper_bound(epoch)]. So it's essentail that waiting_peering is
ordered in ascending order of the map epoch

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
src/crimson/osd/osdmap_gate.h