Description
As per trinity branch, we have the following HELO message sent:
2024-02-20T22:04:13.058518+05:30 INFO 79: HELO [Goxdcr Dcp SourceBucket:B1 TargetBucket:B2] TCP nodelay, Snappy, Collections [ {"ip":"127.0.0.1","port":60869} - {"ip":"127.0.0.1","port":12000} (System, @goxdcr) ] |
As per KV team in CBSE-16401 (refer to this comment),
HELO messaging could do with expanding, including providing versioning info etc.
HELO message in the recent versions of goxdcr is improved to change agent name from "GoMemcached" to "Goxdcr", which takes care of the first part of the comment from the above CBSE.
This MB is to potentially explore more info that can be added to the HELO message XDCR sends, like versioning info as mentioned above.
An example HELO message from java SDK:
2024-02-19T21:13:30.198573-08:00 INFO 70: HELO [{"a":"java/3.4.10 (Linux 3.10.0-1127.13.1.el7.x86_64 amd64; OpenJDK 64-Bit Server VM 1.8.0_252-b09)","i":"306288E00000001E/000000009E7D3C4D"}] Mutation seqno, XATTR, XERROR, Select bucket, Snappy, JSON, Unordered execution, Tracing, AltRequestSupport, SyncReplication, Collections, PreserveTtl, VAttr, SubdocCreateAsDeleted [ {"ip":"172.23.96.130","port":55742} - {"ip":"172.23.217.74","port":11207} (not authenticated) ] |