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

Make greenlight database usage transaction safe for HA usage #1640

Closed
christmart opened this issue May 20, 2020 · 7 comments
Closed

Make greenlight database usage transaction safe for HA usage #1640

christmart opened this issue May 20, 2020 · 7 comments

Comments

@christmart
Copy link

Wenn trying to do a HA setup with multiple greenlight instances accessing the same postgres dabase, all the database request should be in transactions so that the multiple greenlight instances are not able to create conflicting database entries.

Maybe this is already the case, but I did not find any documentation for this usage.

@farhatahmad
Copy link
Collaborator

There are some cases where it already does this, but I believe there are others where it doesn't. Will get this done as part of 2.6

@christmart
Copy link
Author

What could worst case happen at the moment, if multiple greenlights are using the same database?

@chriscroome
Copy link

There are some cases where it already does this, but I believe there are others where it doesn't.

Does this mean that multiple Greenlight containers using the same Postgres database and the same BigBlueButton backend isn't currently an option?

@faust64
Copy link
Contributor

faust64 commented Sep 7, 2020

Any news about this?
Checking changelogs from 2.6 to 2.7.3, I don't think there's any mention about this.

Can we distribute Greenlight?

@christmart
Copy link
Author

We have two greenlight instances running behind a loadbalancer and accessing the same database(-server) for a couple of weeks now and have not seen any issues.

@farhatahmad
Copy link
Collaborator

So I've taken a look at this and I believe Greenlight is already safe for HA usage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants