aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

Replica start up DB race conditions.

Open jamshale opened this issue 6 months ago • 0 comments

If you start up multiple instances of the agent on a fresh DB with posgres storage the askar store will get a race condition with causes the agent to fail. It seems to create part of the DB initially but not the config table in time for the other instances.

This wouldn't really be much of an issue if the orchestration software retries the agent that failed. However, the agent should be hardened against this problem with a retry mechanism.

jamshale avatar Jun 18 '25 16:06 jamshale