]> git.saurik.com Git - redis.git/commit
Sentinel: scripts execution engine improved.
authorantirez <antirez@gmail.com>
Fri, 27 Jul 2012 08:39:39 +0000 (10:39 +0200)
committerantirez <antirez@gmail.com>
Sat, 28 Jul 2012 18:54:27 +0000 (20:54 +0200)
commit3f194a9d2571df21717b635f037040407a51d50d
treeda72333be49bf5d3dcb93d0ba9a95b58c6d29c57
parent78b606acc2b70c5e97368fb4e72b73043c90c2dc
Sentinel: scripts execution engine improved.

We no longer use a vanilla fork+execve but take a queue of jobs of
scripts to execute, with retry on error, timeouts, and so forth.

Currently this is used only for notifications but soon the ability to
also call clients reconfiguration scripts will be added.
src/sentinel.c