I cannot find any information for the showback calculation on a cluster with the new raft algorithm. I want to install a cronjob for this.
Do I have to add the cron on every member of the cluster or do I need to write a script to find out which member is the leader and execute the job on the leader?
You only need to run it once, it can be in any server. Note that database write operations are forwarded to the leader. Maybe you can install a cron job in all the servers, that only runs for the highest ranked follower… so you do not overload the leader