You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CHAIN_UPDATE events emitted by the Safe Config Service only target one CGW pod. This causes the receiving pod to clear the shared state (Redis), but given we also store some data (Transaction API configuration) in memory, those changes cannot be propagated to the rest of the running pods.
Reproduction steps
More than 1 CGW pod is running.
Each pod holds TransactionApiManager.transactionApiMap in memory, having a Record<string, TransactionApi> and each TransactionApi contains the Transaction Service URLs.
The Transaction Service URL for a given chain in the Config Service is changed.
A CHAIN_UPDATE event is received by only one of the CGW pods.
Only one of the CGW pods clears the in-memory data, so the URL is only updated for 1 pod.
Expected behavior
All the pods contain an accurate state reflecting the new configuration.
Additional information
No response
The text was updated successfully, but these errors were encountered:
hectorgomezv
changed the title
CHAIN_UPDATE events does not clear the in-memory TransactionApi configuration on all CGW instances
[tech. debt] CHAIN_UPDATE events does not clear the in-memory TransactionApi configuration on all CGW instances
Oct 10, 2024
hectorgomezv
changed the title
[tech. debt] CHAIN_UPDATE events does not clear the in-memory TransactionApi configuration on all CGW instances
[Tech. Debt] CHAIN_UPDATE events does not clear the in-memory TransactionApi configuration on all CGW instances
Oct 10, 2024
Description
CHAIN_UPDATE
events emitted by the Safe Config Service only target one CGW pod. This causes the receiving pod to clear the shared state (Redis), but given we also store some data (Transaction API configuration) in memory, those changes cannot be propagated to the rest of the running pods.Reproduction steps
TransactionApiManager.transactionApiMap
in memory, having aRecord<string, TransactionApi>
and each TransactionApi contains the Transaction Service URLs.CHAIN_UPDATE
event is received by only one of the CGW pods.Expected behavior
All the pods contain an accurate state reflecting the new configuration.
Additional information
No response
The text was updated successfully, but these errors were encountered: