hazelcast / hazelcast/hazelcast-cpp-client
Member codec missing version check for field address_map [API-1078]
Open
to-jira
Type: Defect
- Dominant language
- C++
- Stars
- 91
- Forks
- 54
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 5
Description
`address_map` field was added after protocol version 2.0 and hence the custom codec should check against this. See Java [codec](https://github.com/hazelcast/hazelcast/blob/v4.2.2/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/codec/custom/MemberInfoCodec.java#L65).
This is not a problem when working with latest patch server version [4.0.3 since that server](https://github.com/hazelcast/hazelcast/blob/v4.0.3/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/codec/custom/MemberInfoCodec.java#L47) encodes the field.
Contributor guide
Assessment
This issue has not been assessed yet.