Support changing pageserver dynamically (#5542)

## Problem
We currently require full restart of compute if we change the pageserver
url
## Summary of changes
Makes it so that we don't have to do a full restart, but can just send
SIGHUP
This commit is contained in:
Sasha Krassovsky
2023-10-26 10:56:07 -07:00
committed by GitHub
parent ba4fe9e10f
commit 116c342cad
6 changed files with 216 additions and 23 deletions
+1
View File
@@ -156,6 +156,7 @@ fn main() -> Result<()> {
let path = Path::new(sp);
let file = File::open(path)?;
spec = Some(serde_json::from_reader(file)?);
live_config_allowed = true;
} else if let Some(id) = compute_id {
if let Some(cp_base) = control_plane_uri {
live_config_allowed = true;