Skip to content

Commit

Permalink
MB-63169: Print cmd_hello if logging packet
Browse files Browse the repository at this point in the history
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 <[email protected]>
Tested-by: Ben Huddleston <[email protected]>
Reviewed-by: Steve Watanabe <[email protected]>
  • Loading branch information
BenHuddleston committed Oct 21, 2024
1 parent c9cda56 commit b4b13fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/ns_server/src/dcp_commands.erl
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ command_2_atom(?DCP_OSO_SNAPSHOT) ->
dcp_oso_snapshot;
command_2_atom(?CMD_GET_ERROR_MAP) ->
cmd_get_error_map;
command_2_atom(?CMD_HELLO) ->
cmd_hello;
command_2_atom(_) ->
not_dcp.

Expand Down

0 comments on commit b4b13fc

Please sign in to comment.