python-arango icon indicating copy to clipboard operation
python-arango copied to clipboard

Support for active failover

Open EliyaCohen opened this issue 3 years ago • 7 comments

Hey, It would be nice to see support for interacting with active failover arangodb deployments.

Currently, when querying active failover deployments there is no way to determine which of the servers is the leader.

I suggest adding the functionality to automatically determine who the leader and in case the current leader fails, move on to the next leader.

EliyaCohen avatar Mar 14 '21 21:03 EliyaCohen

Hi @EliyaCohen,

I'll add this in the todo list for next release.

joowani avatar Mar 22 '21 08:03 joowani

Thanks a lot! if you have implementation ideas I'd love to contribute the code.

EliyaCohen avatar Mar 22 '21 21:03 EliyaCohen

Is this issue still open / is there still no support for active-failover? I have implemented support that is deployed in a production scenario currently that I would happily contribute if there is interest, but it's probably terrible code. It does work, it's not elegant, and I was just getting back into python after a ten year hiatus.

bryaninbi avatar May 29 '22 10:05 bryaninbi

Hi @bryaninbi,

Please feel free to share your code. Even if it's not polished it might help get me started. Thanks.

joowani avatar Jun 21 '22 08:06 joowani

Discussions on how to implement active failover: https://github.com/arangodb/arangodb/issues/13860

joowani avatar Jun 26 '22 16:06 joowani

Hey, is this issue still in the roadmap for implementation? We ran across this roadbump and we plan on working around it for our own use case, however I might be willing to contribute in my free time once I have more time in my hands

franciszac-dlc avatar Aug 24 '23 03:08 franciszac-dlc

Hello! While this issue is indeed on our radar, it's not in our immediate roadmap. However, contributions are always welcome, if you can find the time and inclination to do so. Thanks for reaching out and for considering contributing!

apetenchea avatar Aug 24 '23 09:08 apetenchea

Closing this issue as Active Failover has been deprecated in favour of using cluster deployments: https://docs.arangodb.com/stable/release-notes/deprecated-and-removed-features/

aMahanna avatar Apr 22 '24 21:04 aMahanna