Skip to content

Commit 89c8bad

Browse files
committed
Disable multi-db and ring buffer
1 parent ad2487c commit 89c8bad

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dockers/docker-orchagent/orchagent.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ if [[ x"${MGMT_VRF_ENABLED}" == x"true" ]]; then
115115
fi
116116

117117
# Enable ring buffer
118-
ORCHDAEMON_RING_ENABLED=`sonic-db-cli CONFIG_DB hget "DEVICE_METADATA|localhost" "ring_thread_enabled"`
119-
if [[ x"${ORCHDAEMON_RING_ENABLED}" == x"true" ]]; then
120-
ORCHAGENT_ARGS+=" -R"
121-
fi
118+
#ORCHDAEMON_RING_ENABLED=`sonic-db-cli CONFIG_DB hget "DEVICE_METADATA|localhost" "ring_thread_enabled"`
119+
#if [[ x"${ORCHDAEMON_RING_ENABLED}" == x"true" ]]; then
120+
# ORCHAGENT_ARGS+=" -R"
121+
#fi
122122

123123
exec /usr/bin/orchagent ${ORCHAGENT_ARGS}

files/build_templates/sonic_debian_extension.j2

+2
Original file line numberDiff line numberDiff line change
@@ -1201,4 +1201,6 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-mark unho
12011201
{% endif %}
12021202

12031203
## Enable MULTIDB
1204+
{% if ENABLE_MULTIDB == "y" %}
12041205
sudo touch $FILESYSTEM_ROOT_ETC_SONIC/enable_multidb
1206+
{% endif %}

0 commit comments

Comments
 (0)