sofastack / sofa-registry

SOFARegistry is a production-level, low-latency, high-availability service registry powered by Ant Financial.
https://www.sofastack.tech/sofa-registry/docs/Home
Apache License 2.0
650 stars 246 forks source link

Release/v6.40 #337

Closed huanglongchao closed 10 months ago

huanglongchao commented 1 year ago

Motivation:

  1. fix app revision not exist
  2. Solve the problem that the session starts slowly after the multi-Idc feature is turned on
  3. Reduce the impact of session operation and maintenance on app traffic off
  4. fix Issue of high CPU usage by the meta leader

Result:

335

336

339

340

codecov[bot] commented 12 months ago

Codecov Report

Merging #337 (fd6589e) into master (79ffc04) will increase coverage by 0.04%. The diff coverage is 80.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337/graphs/tree.svg?width=650&height=150&src=pr&token=K6x7h4Uxkn&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack)](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack) ```diff @@ Coverage Diff @@ ## master #337 +/- ## ============================================ + Coverage 76.56% 76.61% +0.04% Complexity 48 48 ============================================ Files 495 495 Lines 18488 18506 +18 Branches 1802 1805 +3 ============================================ + Hits 14155 14178 +23 + Misses 3522 3515 -7 - Partials 811 813 +2 ``` | [Files](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack) | Coverage Δ | | |---|---|---| | [...egistry/common/model/constants/ValueConstants.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL2NvbW1vbi9tb2RlbC9zcmMvbWFpbi9qYXZhL2NvbS9hbGlwYXkvc29mYS9yZWdpc3RyeS9jb21tb24vbW9kZWwvY29uc3RhbnRzL1ZhbHVlQ29uc3RhbnRzLmphdmE=) | `93.61% <100.00%> (+0.28%)` | :arrow_up: | | [...ipay/sofa/registry/jdbc/informer/BaseInformer.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL3N0b3JlL2pkYmMvc3JjL21haW4vamF2YS9jb20vYWxpcGF5L3NvZmEvcmVnaXN0cnkvamRiYy9pbmZvcm1lci9CYXNlSW5mb3JtZXIuamF2YQ==) | `93.63% <100.00%> (+0.17%)` | :arrow_up: | | [...c/repository/impl/InterfaceAppsJdbcRepository.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL3N0b3JlL2pkYmMvc3JjL21haW4vamF2YS9jb20vYWxpcGF5L3NvZmEvcmVnaXN0cnkvamRiYy9yZXBvc2l0b3J5L2ltcGwvSW50ZXJmYWNlQXBwc0pkYmNSZXBvc2l0b3J5LmphdmE=) | `83.67% <ø> (ø)` | | | [...server/meta/provide/data/NodeOperatingService.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL3NlcnZlci9tZXRhL3NyYy9tYWluL2phdmEvY29tL2FsaXBheS9zb2ZhL3JlZ2lzdHJ5L3NlcnZlci9tZXRhL3Byb3ZpZGUvZGF0YS9Ob2RlT3BlcmF0aW5nU2VydmljZS5qYXZh) | `77.77% <85.71%> (+0.85%)` | :arrow_up: | | [...server/session/metadata/MetadataCacheRegistry.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL3NlcnZlci9zZXNzaW9uL3NyYy9tYWluL2phdmEvY29tL2FsaXBheS9zb2ZhL3JlZ2lzdHJ5L3NlcnZlci9zZXNzaW9uL21ldGFkYXRhL01ldGFkYXRhQ2FjaGVSZWdpc3RyeS5qYXZh) | `78.78% <80.00%> (+0.66%)` | :arrow_up: | | [...dbc/repository/impl/AppRevisionJdbcRepository.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL3N0b3JlL2pkYmMvc3JjL21haW4vamF2YS9jb20vYWxpcGF5L3NvZmEvcmVnaXN0cnkvamRiYy9yZXBvc2l0b3J5L2ltcGwvQXBwUmV2aXNpb25KZGJjUmVwb3NpdG9yeS5qYXZh) | `69.91% <75.00%> (+5.98%)` | :arrow_up: | | [.../java/com/alipay/sofa/registry/util/JsonUtils.java](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack#diff-c2VydmVyL2NvbW1vbi91dGlsL3NyYy9tYWluL2phdmEvY29tL2FsaXBheS9zb2ZhL3JlZ2lzdHJ5L3V0aWwvSnNvblV0aWxzLmphdmE=) | `72.22% <50.00%> (-6.35%)` | :arrow_down: | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack). Last update [79ffc04...fd6589e](https://app.codecov.io/gh/sofastack/sofa-registry/pull/337?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sofastack).