Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMORO-1985]Avoid NPE during disposing ArcticServiceContainer #1986

Merged
merged 4 commits into from
Sep 18, 2023

Conversation

rfyu
Copy link
Contributor

@rfyu rfyu commented Sep 17, 2023

Why are the changes needed?

fix #1985 .

Brief change log

  • add a nonnull check for com.netease.arctic.server.DefaultOptimizingService#optimizerMonitorTimer

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@github-actions github-actions bot added the module:ams-dashboard Ams dashboard module label Sep 17, 2023
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Patch has no changes to coverable lines.

Files Changed Coverage
...etease/arctic/server/DefaultOptimizingService.java 0.00%

📢 Thoughts on this report? Let us know!.

Copy link
Contributor

@baiyangtx baiyangtx left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for your contribution.

@HuangFru
Copy link
Contributor

Could you please complete the 'Brief change log' above? For example: "add a nonnull check for 'optimizerMonitorTimer'" or something like this.

@rfyu
Copy link
Contributor Author

rfyu commented Sep 18, 2023

Could you please complete the 'Brief change log' above? For example: "add a nonnull check for 'optimizerMonitorTimer'" or something like this.

ok

Copy link
Contributor

@HuangFru HuangFru left a comment

Choose a reason for hiding this comment

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

LGTM. Appreciate your contribution.

@zhoujinsong zhoujinsong merged commit 798f952 into apache:master Sep 18, 2023
ShawHee pushed a commit to ShawHee/arctic that referenced this pull request Dec 29, 2023
…#1986)

* fix npe

* replace Object.isNull()

---------

Co-authored-by: yrf余若凡 <rfyu@trip.com>
Co-authored-by: shidayang <530847445@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ams-dashboard Ams dashboard module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Avoid NPE during disposing ArcticServiceContainer
5 participants