Skip to content

Commit cfd231a

Browse files
committed
extend readiness probe check for "standalone"
1 parent d9d5c0f commit cfd231a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/operator-binary/src/zk_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ fn build_server_rolegroup_statefulset(
869869
"-c".to_string(),
870870
// NOTE: the adminPort property is currently generated in the product config machinery properties.yaml.
871871
format!(
872-
r#"curl -s http://127.0.0.1:{admin_port}/commands/mntr | grep -q '"server_state"[ ]*:[ ]*"\(leader\|follower\)"'"#,
872+
r#"curl -s http://127.0.0.1:{admin_port}/commands/mntr | grep -q '"server_state"[ ]*:[ ]*"\(leader\|follower\|standalone\)"'"#,
873873
admin_port = ZookeeperSecurity::ADMIN_PORT
874874
),
875875
]),

0 commit comments

Comments
 (0)