mirror of https://github.com/OpenVidu/openvidu.git
GetSecretValue is eventually consistent: with masters booting in parallel, the final re-read of the shared JSON could return a stale pre-generation version (ALL_SECRETS_GENERATED already observed true but values still 'none'), so the installer aborted with e.g. 'mongo-admin-password: must have at least 10 characters'. The old serialized boot masked this window (minutes between generation and re-reads); parallel boot exposed it intermittently (1 of 3 tries). Fix: read-until-valid — retry the re-read (5s, 5 min cap) until the same snapshot has ALL_SECRETS_GENERATED=true AND every always-generated value != 'none'; the media gate now validates OPENVIDU_VERSION and REDIS_PASSWORD content too, not just the flag. Validated with ov-cloud-tester (sc-deploy-destroy, ha, dev, --tries 3): 3/3 PASS, deploy mean 5m19s (spread 76ms), ready mean 21m24s. Control run without the fix reproduced the race (1/3 failed). |
||
|---|---|---|
| .github | ||
| openvidu-components-angular | ||
| openvidu-deployment | ||
| openvidu-livekit@f2e5cda2b3 | ||
| openvidu-test-browsers | ||
| openvidu-test-e2e | ||
| openvidu-test-integration | ||
| openvidu-testapp | ||
| .gitignore | ||
| .gitmodules | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| NOTICE | ||
| README.md | ||
README.md
openvidu
Visit openvidu.io
Community Forum
Visit OpenVidu Community Forum
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers! 🙏 [Become a backer]
Acknowledgments
OpenVidu has been supported under project "CPP2021-008720 NewGenVidu: An elastic, user-friendly and privacy-friendly videoconferencing platform", funded by MCIN/AEI/10.13039/501100011033 and by the European Union-NextGenerationEU/PRTR.
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]