Add jitter to driver reconnection delay calculation

Description

This improvement is described here for the java driver: https://datastax-oss.atlassian.net/browse/JAVA-2038

Jitter should NOT be introduced to ConstantReconnectionPolicy and FixedReconnectionPolicy.

Proposal is to use the "Equal Jitter" algorithm described here with one change: instead of only adding, the algorithm should add or subtract.

Regarding variation and cap, if we choose a small variation like 15% then there's no need for a cap.

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Joao Reis

Labels

None

PM Priority

None

Fix versions

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

Size

None

Priority

Major
Configure