Skip to content

[#2466] fix(server): Ignore appIdToInfos when serialize ServerNode#2467

Merged
zuston merged 2 commits into
apache:masterfrom
xianjingfeng:issue_2466
Apr 28, 2025
Merged

[#2466] fix(server): Ignore appIdToInfos when serialize ServerNode#2467
zuston merged 2 commits into
apache:masterfrom
xianjingfeng:issue_2466

Conversation

@xianjingfeng

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Ignore appIdToInfos when serialize ServerNode

Why are the changes needed?

Fix #2466

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual Testing

@github-actions

Copy link
Copy Markdown

Test Results

 3 019 files  ±0   3 019 suites  ±0   6h 46m 30s ⏱️ -48s
 1 178 tests ±0   1 177 ✅ ±0   1 💤 ±0  0 ❌ ±0 
14 922 runs  ±0  14 907 ✅ ±0  15 💤 ±0  0 ❌ ±0 

Results for commit 91fcd90. ± Comparison against base commit aa85e3f.

private String version;
private String gitCommitId;
Map<String, RssProtos.ApplicationInfo> appIdToInfos;
@JsonIgnore Map<String, RssProtos.ApplicationInfo> appIdToInfos;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RssProtos.ApplicationInfo can't be serialized. if appIdToInfos is not empty, we can't see any node in the dashboard ui.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got it

@zuston zuston left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@zuston zuston merged commit 4d92020 into apache:master Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] failed on ServerNode json serialization

3 participants