Release FDs when stuck peering recovery
During stuck peering recovery if file descriptors are not released the state machine does not advance to OPERATIONAL state Partial-bug: 1856064 Change-Id: I3fba7be661ebf223eac63608574323ad98d33b75 Signed-off-by: Paul Vaduva <Paul.Vaduva@windriver.com>
This commit is contained in:
parent
f80a248eda
commit
bed7388b67
@ -159,7 +159,8 @@ log_and_restart_blocked_osds ()
|
||||
local message=$2
|
||||
for name in $names; do
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user