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: optimize service port priority #3981

Merged
merged 31 commits into from
Aug 30, 2021
Merged

optimize: optimize service port priority #3981

merged 31 commits into from
Aug 30, 2021

Conversation

slievrly
Copy link
Member

Ⅰ. Describe what this PR did

optimize service port priority

Ⅱ. Does this pull request fix one issue?

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

Ⅳ. Describe how to verify it

vm:
-Dserver.servicePort=9999

startup program arg:
-p 7890

env:
SEATA_PORT=45091

yml:

server:
service-port: 8091

yml:

server:
port: 7091 // offset + 1000

Ⅴ. Special notes for reviews

slievrly and others added 27 commits July 26, 2021 18:31
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>

# Conflicts:
#	server/src/test/java/io/seata/server/lock/redis/RedisLockManagerTest.java
#	server/src/test/java/io/seata/server/session/redis/RedisSessionManagerTest.java
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>

# Conflicts:
#	changes/1.5.0.md
#	changes/en-us/1.5.0.md
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2021

Codecov Report

Merging #3981 (e900819) into develop (081eb08) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #3981      +/-   ##
=============================================
- Coverage      40.21%   40.16%   -0.05%     
  Complexity      3078     3078              
=============================================
  Files            689      690       +1     
  Lines          23323    23352      +29     
  Branches        2887     2891       +4     
=============================================
  Hits            9379     9379              
- Misses         13075    13104      +29     
  Partials         869      869              
Impacted Files Coverage Δ
...ava/io/seata/core/constants/ConfigurationKeys.java 0.00% <ø> (ø)
.../io/seata/core/rpc/netty/NettyServerBootstrap.java 0.00% <0.00%> (ø)
...oconfigure/properties/server/ServerProperties.java 29.16% <0.00%> (-4.17%) ⬇️
...c/main/java/io/seata/server/ServerApplication.java 0.00% <ø> (ø)
.../io/seata/server/ServerApplicationRunListener.java 0.00% <0.00%> (ø)
...main/java/io/seata/server/env/ContainerHelper.java 0.00% <ø> (ø)
.../listener/SystemPropertyLoggerContextListener.java 0.00% <0.00%> (ø)

Signed-off-by: slievrly <slievrly@163.com>
Signed-off-by: slievrly <slievrly@163.com>
@slievrly slievrly added this to the 1.5.0 milestone Aug 27, 2021
Signed-off-by: slievrly <slievrly@163.com>
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

@funky-eyes funky-eyes added the module/server server module label Aug 29, 2021
@slievrly slievrly merged commit b0d346a into apache:develop Aug 30, 2021
UmmizzZ pushed a commit to UmmizzZ/seata that referenced this pull request Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/server server module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants