Merge "Release FDs when stuck peering recovery"
This commit is contained in:
commit
045ba2a0e2
@ -159,7 +159,8 @@ log_and_restart_blocked_osds ()
|
|||||||
local message=$2
|
local message=$2
|
||||||
for name in $names; do
|
for name in $names; do
|
||||||
wlog $name "INFO" "$message"
|
wlog $name "INFO" "$message"
|
||||||
${CEPH_SCRIPT} restart $name
|
# Restart the daemons but release ceph mon and osd file descriptors
|
||||||
|
${CEPH_SCRIPT} restart $name {LOCK_CEPH_MON_STATUS_FD}>&- {LOCK_CEPH_OSD_STATUS_FD}>&-
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user