Skip to content

Commit b4b13fc

Browse files
committed
MB-63169: Print cmd_hello if logging packet
We send it in all DCP connections that we establish, we should log it nicely rather than as "not_dcp". Change-Id: Ib0861cc51eccd52d719dc355c52218e3f5c2cf18 Reviewed-on: https://review.couchbase.org/c/ns_server/+/201094 Well-Formed: Build Bot <build@couchbase.com> Tested-by: Ben Huddleston <ben.huddleston@couchbase.com> Reviewed-by: Steve Watanabe <steve.watanabe@couchbase.com>
1 parent c9cda56 commit b4b13fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/ns_server/src/dcp_commands.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ command_2_atom(?DCP_OSO_SNAPSHOT) ->
160160
dcp_oso_snapshot;
161161
command_2_atom(?CMD_GET_ERROR_MAP) ->
162162
cmd_get_error_map;
163+
command_2_atom(?CMD_HELLO) ->
164+
cmd_hello;
163165
command_2_atom(_) ->
164166
not_dcp.
165167

0 commit comments

Comments
 (0)