Master Aggregator Redundancy Error Codes
On this page
During Master Aggregator (MA) failover, the voting members elect a new MA.
Instead, a client can receive a connection error or an MA-role error while the old MA is shutting down or the new MA is being elected.
For a query that cannot be forwarded or retried automatically, drop the connection, reconnect, and retry the operation according to the application's retry and transaction-safety requirements.
Client and Failover Errors
The following errors can occur during MA failover.
|
Error code |
Available in DB release 8. |
When it occurs |
Recommended action |
|---|---|---|---|
|
ER_ |
1053 |
The previous MA is shutting down. |
Retry through the load-balanced MA endpoint. |
|
ER_ |
1218 |
A child aggregator cannot connect to the current MA, typically while a new MA is being elected. |
Retry the request after the new MA is available. |
|
ER_ |
1752 |
The request reached a node that is not the current MA, including after another voting member was elected. |
Retry on the current MA through the load-balanced endpoint |
|
ER_ |
2076 |
The node that received the request is no longer the MA, for example, after a leadership transfer. |
Retry on the new MA. |
|
ER_ |
2787, first appearing in 9. |
A DDL operation was rejected because an MA failover occurred; the request's DDL term is behind the node's consensus term. |
Retry the DDL operation on the new MA. |
A driver can also report a lost connection, such as « Lost connection to server during query».
Consensus Membership and Leadership Errors
These errors apply to administrative operations that manage consensus membership or leadership.
The consensus-family numeric codes differ between the releases 8.ER_ is absent in 8.
|
Error code |
8. |
8. |
9. |
When it occurs |
Recommended action |
|---|---|---|---|---|---|
|
ER_ |
2481 |
2481 |
2481 |
Consensus is being disabled while the node is still a voting member. |
Remove the node from voting membership or re-add it as a follower before setting consensus_ |
|
ER_ |
2482 |
2482 |
2482 |
An operation requiring consensus is attempted while consensus is disabled. |
Enable consensus after satisfying its prerequisites; for a durability-related message, make the reference database sync durable. |
|
ER_ |
Not available |
2749 |
2748 |
Detach, demote, or remove would leave no majority of active voting members. |
Do not perform the operation until it preserves quorum. |
|
ER_ |
Not available |
2750 |
2749 |
A voting-member operation is attempted on a non-voting member, such as a follower CA. |
Run the operation on a voting member or add the node to voting membership first. |
|
ER_ |
Not available |
2751 |
2750 |
A voting member is detached when it is already detached. |
Check the member state before retrying the detach operation. |
|
ER_ |
Not available |
2752 |
2751 |
A voting member is attached when it is not detached. |
Check the member state before retrying the attach operation. |
|
ER_ |
Not available |
2753 |
2752 |
Warning: ATTACH VOTING MEMBER completed, but the node may still be a demoted voting member because promotion to voting member did not finish before attach_ |
Check the member status and allow promotion to complete. |
|
ER_ |
Not available |
2754 |
2753 |
Leadership transfer timed out while detaching or removing the current MA. |
Check the target voting member and quorum, then retry the DETACH or REMOVE operation. |
|
ER_ |
Not available |
2755 |
2754 |
Leadership could not be transferred while detaching or removing the current MA. |
Check the voting-member and quorum state, resolve the underlying issue, then retry the DETACH or REMOVE operation. |
Monitoring election activity - Use INFORMATION_ to monitor MA election and consensus activity.CONSENSUS_, CONSENSUS_, and NEW_.
Last modified: