Skip to content

Commit

Permalink
Merge PR #34047 into master
Browse files Browse the repository at this point in the history
* refs/pull/34047/head:
	qa/standalone/osd/osd-backfill-stats.sh: get_latest_osdmap to propagate map change

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Mar 19, 2020
2 parents e8db5eb + 6edd1cb commit 1ee25c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions qa/standalone/osd/osd-backfill-stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ function TEST_backfill_out2() {
sleep 2
primary=$(get_primary $poolname obj1)
ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0
sleep 2

Expand Down Expand Up @@ -410,6 +411,7 @@ function TEST_backfill_sizeup4_allout() {
sleep 2
primary=$(get_primary $poolname obj1)
ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0
sleep 2

Expand Down Expand Up @@ -474,6 +476,7 @@ function TEST_backfill_remapped() {
primary=$(get_primary $poolname obj1)

ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0

sleep 2
Expand Down Expand Up @@ -534,6 +537,7 @@ function TEST_backfill_ec_all_out() {
sleep 2
primary=$(get_primary $poolname obj1)
ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0
sleep 2

Expand Down Expand Up @@ -584,6 +588,7 @@ function TEST_backfill_ec_prim_out() {
sleep 2
primary=$(get_primary $poolname obj1)
ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0
sleep 2

Expand Down Expand Up @@ -642,6 +647,7 @@ function TEST_backfill_ec_down_all_out() {
sleep 2
primary=$(get_primary $poolname obj1)
ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0
sleep 2
flush_pg_stats
Expand Down Expand Up @@ -726,6 +732,7 @@ function TEST_backfill_ec_down_out() {
sleep 2
primary=$(get_primary $poolname obj1)
ceph osd unset nobackfill
ceph tell osd.$primary get_latest_osdmap
ceph tell osd.$primary debug kick_recovery_wq 0
sleep 2

Expand Down

0 comments on commit 1ee25c2

Please sign in to comment.