mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
The view building coordinator sends tasks in form of RPC messages to other nodes in the cluster. If processing that RPC fails, the coordinator logs the error. However, since tasks are per replica (so per shard), it may happen that we end up with a large number of similar messages, e.g. if the target node has died, because every shard will fail to process its RPC message. It might become even worse in the case of a network partition. To mitigate that, we rate limit the logging by 1 seconds. We extend the test `test_backoff_when_node_fails_task_rpc` so that it allows the view building coordinator to have multiple tablet replica targets. If not for rate limiting the warning messages, we should start getting more of them, potentially leading to a test failure.