Sometimes, a slave server may try to be the leader. It wrote the log as this:
[INFO] [JobScheduler STARTING] 03-21 12:25:24,958 [JobScheduler] - Trying to become leader.
In fact, it wasn't selected as leader, because it didn't write any log as this:
[JobScheduler] - Elected as leader.
But after that, when I do some http request to this node, it start to redirect to itself. I can't receive any answer. And this slave server will print a lot of log, "[RedirectFilter] - Proxying request to ", to itself.
Then the slave server will block. After printed more than 200 redirect logs, it stop printing any log.
I restarted the chronos service on that slave server, then it became normal.
Sometimes, a slave server may try to be the leader. It wrote the log as this:
In fact, it wasn't selected as leader, because it didn't write any log as this:
But after that, when I do some http request to this node, it start to redirect to itself. I can't receive any answer. And this slave server will print a lot of log, "[RedirectFilter] - Proxying request to ", to itself.
Then the slave server will block. After printed more than 200 redirect logs, it stop printing any log.
I restarted the chronos service on that slave server, then it became normal.