-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Proposal
Just encountered that in build/ps-entrypoint.sh the sleep-forever/$recovery_file loop is a full-fledged polling loop.
`--- a/build/ps-entrypoint.sh
+++ b/build/ps-entrypoint.sh
@@ -428,6 +428,7 @@ if [ -f "${recovery_file}" ]; then
if [ ! -f "${recovery_file}" ]; then
exit 0
fi
-
sleep 0.5 # Prevent full polling mode - just wasted cpu-cycles done
fi`
☝ should easily fix this.
Use-Case
Preventing hot-cpu cores when recovering a broken group-replication
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
Else: Keep up the good work!