connectionMaxRetryInterval has no effect on reconnection process

Description

Prerequisites:
Node with IOUState in the vault

Steps to reproduce:
1) Connect to the node via RPC client (with 2 HA addresses, GracefulReconnect, connectionRetryInterval = 5, connectionRetryIntervalMultiplier = 2.0, maxReconnectAttempts = 10)
2) Call vaultQuery using loop
3) Kill node or block RPC connection

Expected result:
RPC client starts reconnection process, increases retry interval according to connectionRetryIntervalMultiplier each reconnection. Retry interval should not be larger than specified in connectionMaxRetryInterval (default is 3 minutes).

Actual result:
RPC client starts reconnection process, increases retry interval according to connectionRetryIntervalMultiplier. Retry interval is larger than specified in connectionMaxRetryInterval on late steps.

 

Assignee

Dmitry Toropov

Reporter

Dmitry Toropov

Priority

Medium

Fix versions

Ported to...

Corda 4.4
Corda Enterprise 4.4

Feature Team

Kernel Group

CVSS Vector

None

Engineering Teams

None

Severity

Medium

Affects versions

Configure