Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2024.1][#22762] YSQL: Enable restarted webserver to serve r…
…equests in MiniCluster tests. Summary: Original commit: 35a9a3f / D35456 5862233 / D35116 added cleanup logic to the webserver on calling Stop(). This was implemented, in part, by using an atomic bool `stop_initiated` to indicate that the webserver was shutting down. This revision resets this variable on calling Start(). This flow is invoked exclusively in Minicluster tests involving webserver restarts. In production environments, webserver restarts involve terminating the background worker running the webserver and starting a new one, and so the problem of restarts does not exist in such environments. Jira: DB-11665 Test Plan: ``` ./yb_build.sh --cxx-test integration-tests_cql-backup-test --gtest_filter CqlBackupTest.TestBackupRestoreWithoutTSWebUI -n 12 ``` Reviewers: telgersma, loginov Reviewed By: telgersma Subscribers: yql, smishra, ybase Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D35678
- Loading branch information