From ac6e7ad3754194735e42826b8a83947d95712834 Mon Sep 17 00:00:00 2001 From: Oleksandr Ivantsiv Date: Fri, 7 Jun 2024 15:34:20 -0700 Subject: [PATCH] [database] Fix database config template for remote Redis instance (#19239) The local Redis daemon should not run for a remote database. How I did it Do not generate a supervisord configuration entry for the remote database instances. How to verify it Compile and run the DPU image. The database container on the DPU should run Redis daemons only for local DB instances. --- dockers/docker-database/database_config.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-database/database_config.json.j2 b/dockers/docker-database/database_config.json.j2 index b5c231a93f41..65db6cb72641 100644 --- a/dockers/docker-database/database_config.json.j2 +++ b/dockers/docker-database/database_config.json.j2 @@ -20,7 +20,7 @@ ,"remote_redis":{ "hostname" : "{{REMOTE_DB_IP}}", "port" : {{REMOTE_DB_PORT}}, - "unix_socket_path": "" + "unix_socket_path": "", "persistence_for_warm_boot" : "yes" } {% endif %}