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

optimize: remove JVM parameter app.id #6950

Merged
merged 2 commits into from
Oct 26, 2024
Merged

Conversation

xingfudeshi
Copy link
Member

@xingfudeshi xingfudeshi commented Oct 25, 2024

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

The pid passed in by -Dapp.pid=${$} is actually the pid of seata-server.sh, not the java process id of seata-server; at the same time, it is impossible to get the pid of the current java process when starting seata-server, so remove it.

Ⅱ. Does this pull request fix one issue?

fixes #5692

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@xingfudeshi xingfudeshi changed the title optimize:Remove app.id JVM parameter optimize:Remove JVM parameter app.id Oct 25, 2024
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.68%. Comparing base (e91e113) to head (4b425e5).
Report is 1 commits behind head on 2.x.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6950      +/-   ##
============================================
- Coverage     52.68%   52.68%   -0.01%     
+ Complexity     6559     6558       -1     
============================================
  Files          1122     1122              
  Lines         39864    39864              
  Branches       4667     4667              
============================================
- Hits          21004    21003       -1     
- Misses        16864    16865       +1     
  Partials       1996     1996              

see 2 files with indirect coverage changes

@slievrly slievrly changed the title optimize:Remove JVM parameter app.id optimize: remove JVM parameter app.id Oct 26, 2024
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM

@slievrly slievrly merged commit df76d36 into apache:2.x Oct 26, 2024
7 checks passed
@slievrly slievrly added this to the 2.3.0 milestone Oct 26, 2024
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.

The JVM parameter -Dapp.pid is displayed incorrectly
2 participants