Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ansible when no profile configure is given #611

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/vtgate/templates/vtgate.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EXTRA_VTGATE_FLAGS="\
--vschema_ddl_authorized_users \"%\" \
--vtgate-config-terse-errors \
--tablet_types_to_wait REPLICA \
{% if vitess_profile_binary == 'vtgate' %}\
{% if vitess_profile_binary is defined and vitess_profile_binary == 'vtgate' %}\
--pprof=\"{{vitess_profile_mode}},waitSig,path=/pprof/{{arewefastyet_exec_uuid}}/vtgate-{{ gateway.id }}\" \
{% endif %}\
{{gateway.extra_flags|default("")}} \
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/vttablet/templates/vttablet.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ EXTRA_VTTABLET_FLAGS="--alsologtostderr \
{% endif %}
--grpc_max_message_size=67108864 \
--db_charset=utf8 \
{% if vitess_profile_binary == 'vttablet' %}\
{% if vitess_profile_binary is defined and vitess_profile_binary == 'vttablet' %}\
--pprof=\"{{vitess_profile_mode}},waitSig,path=/pprof/{{arewefastyet_exec_uuid}}/vttablet-{{ tablet.id }}\" \
{% endif %}\
{{ tablet.extra_flags | default("") }} \
Expand Down
Loading