Node loses database lease; accounts fail over to a second node without duplicate trades
A trade-copying node that loses its database connection keeps its broker sessions open but stops executing orders once its lease can no longer be confirmed. Its lease expires after 60 seconds, after which another node can claim the follower accounts within the next renewal window. The new owner opens sessions and reconciles each link against what is actually open at the broker. Orders are withheld during the transition, so a short gap in copying is accepted to avoid duplicate trades on real accounts. Events from the master during the gap are dropped rather than queued for replay.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in