DEFRECORD KDB_FailOver_HookInfo
State record passed to a failover callback routine| FLD name | Pack format | Purpose |
|---|---|---|
| FailOver_HookInfo_Connection | Connection | |
| FailOver_HookInfo_UserData | User defined data passed to call to create hook | |
| FailOver_HookInfo_AccumulatedReconnectDelay | Total time in seconds of delays using specification in connect string | |
| FailOver_HookInfo_FailOverCount | Counter for fail over simulation - once it reaches FailOverThreshold a fail over is emulated | |
| FailOver_HookInfo_FailOverThreshold | Threshold for fail over simulation - once the counter reaches this threshold a fail over is emulated | |
| FailOver_HookInfo_RollBack | BOOL | True if there wil be a THROW ROLLBACK after this callback |
| FailOver_HookInfo_Retry | BOOL | True if CALL KI_ statement will be re-executed automatically after this callback |
| FailOver_HookInfo_Fatal | BOOL | True if error is fatal - all attempts to connect all database servers have timed out |
| FailOver_HookInfo_DebugInfo$ | CHAR(80) | Debug information (subject to change) |