Skip to content

Make reader to slow down when it gets certain errors from the driver #93

@dkropachev

Description

@dkropachev

Issue https://github.com/scylladb/scylla-enterprise/issues/5383 shows that we need to make CDC reader to slow down when it sees errors that signals about cluster/ node being overloaded.
So, we need backoff (exponential and flat) when driver replies with these errors:

  1. BusyPoolException
  2. OverloadedException
  3. ReadTimeoutException
UPDATE

ExponentialRetryBackoffWithJitter is already there, we need to expose it on configuration level and fix it to have proper backoff with small jitter.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions