Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove clientStats from MemberState (#1253)
`clientStats` string in `MemberState` does not provide any additional information other than `enterprise` and `clusterConnectionTimestamp` compared to `ClientEndpointDTO`. In MC side, we parse this long string in every `MemberState` retrieval, and this adds additional overhead to our `TimedMemberState` consumption. For metrics processing, `ClientStats` does not provide additional information as well, because we consume these metrics directly from the member. For this purpose, this PR introduces `enterprise` and `clusterConnectionTimestamp` fields in `ClientStatsDTO`, removes `clientStats` from `TimedMemberState`, and adds connection start timestamp to `Connection` (we had it only in `ClientConnection`, and now it's extended to `ServerConnection` as well). Fixes https://hazelcast.atlassian.net/browse/MC-2620 Breaking changes (list specific methods/types/messages): * API * TimedMemberState * Connection Checklist: - [X] Labels (`Team:`, `Type:`, `Source:`, `Module:`) and Milestone set - [X] Add `Add to Release Notes` label if changes should be mentioned in release notes or `Not Release Notes content` if changes are not relevant for release notes - [X] Request reviewers if possible - [ ] New public APIs have `@Nonnull/@Nullable` annotations - [ ] New public APIs have `@since` tags in Javadoc - [ ] Send backports/forwardports if fix needs to be applied to past/future releases GitOrigin-RevId: 9e30d555e2d7c1250a3b42cd22090aa46daf6448
- Loading branch information
1 parent
c5f2e18
commit cc4dad2
Showing
12 changed files
with
94 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.