Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Fallback datastore to use when loading real datastore fails. #2336

Open
zml2008 opened this issue Feb 20, 2016 · 1 comment
Open

Fallback datastore to use when loading real datastore fails. #2336

zml2008 opened this issue Feb 20, 2016 · 1 comment
Milestone

Comments

@zml2008
Copy link
Member

zml2008 commented Feb 20, 2016

This way PEX is still enabled and can provide at least some form of permissions resolution. What needs to be decided is what to do when the fallback backend is used:

  1. Lock down the server and grant no permissions to anybody
  2. Kick everyone on join
  3. Send a message to anyone who joins giving information about the error (while taking one of the above actions)
@zml2008 zml2008 added this to the 2.0 milestone Feb 20, 2016
@nuttah
Copy link

nuttah commented Mar 27, 2016

Pex can use two different data stores at the same time yet e.g. For migration of permissions storage.
Wouldn't it be nice to have a configuration switch to enable fallback from database to file based data store if the DB connection breaks. This would need to have a valid and mostly up to date replication of the permissions.yml extracted from the pex DB schema in a regular base or another external tool would be needed to realize those extraction via cronjob for example.
If this seems to be too complex is there a chance to get native MySQL reconnection within pex realized ?

@zml2008 zml2008 closed this as completed Dec 24, 2017
@zml2008 zml2008 reopened this Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants