Skip to content

Commit a39568e

Browse files
Merge pull request ceph#61397 from amathuria/wip-amat-test-osdmap-pruning
mon/test_mon_osdmap_prune: Use first_pinned instead of first_committed
2 parents 64e349a + 1e2f375 commit a39568e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

qa/workunits/mon/test_mon_osdmap_prune.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ function wait_for_trim() {
3333

3434
for ((i=0; i < ${#delays[*]}; ++i)); do
3535
fc=$(ceph report | jq '.osdmap_first_committed')
36-
if [[ $fc -eq $epoch ]]; then
36+
manifest="$(ceph report | jq '.osdmap_manifest')"
37+
first_pinned_map=$(ceph report | jq '.osdmap_manifest.first_pinned')
38+
if [[ $first_pinned_map -eq $epoch ]]; then
3739
return 0
3840
fi
3941
sleep ${delays[$i]}

0 commit comments

Comments
 (0)