Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for local arango cluster [SCT-3172] #447

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

eapearson
Copy link
Contributor

While attempting to replicate a concurrent arangodb update timeout error, I needed to recreate the deployment as closely as possible. This is the first leg of an attempt to do so. It is a variant, if you will, of the existing development-with-docker support. The primary differences are that this docker-compose configuration defines a cluster configuration for arangodb.
A new pair of make tasks are added to stop and start it, a new small set of mock data added (to support the attempt to replicate this issue), the docker compose configuration, and documentation. It is notable too that the configuration includes an haproxy container to load-balance requests to arangodb.

Future work should attempt to have this configuration match the actual deployment more closely, to the point at which we can replicate production issues.
It may also be that some of the issues we have experienced will disappear when moving to a newer version of ArangoDB - this project was actually an attempt to replicate the problem, then switch the ArangoDB version to see if the problem disappears. There is support for specifying the ArangoDB version in an environment variable (which is in turn utilized as the image tag in docker compose.)

The existing deployment, testing, actual service code are not touched.

@eapearson eapearson requested a review from scanon March 11, 2022 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant