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
653 stars 247 forks source link

app revision write swith meta bug fix #277

Closed nocvalight closed 1 year ago

nocvalight commented 1 year ago

Motivation:

Explain the context, and why you're making that change. To make others understand what is the problem you're trying to solve.

Modification:

Describe the idea and modifications you've done.

Result:

Fixes #278 .

If there is no issue then describe the changes introduced by this PR.

codecov[bot] commented 1 year ago

Codecov Report

Merging #277 (5eaa32f) into master (f208554) will increase coverage by 0.05%. The diff coverage is 27.77%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #277      +/-   ##
============================================
+ Coverage     76.64%   76.70%   +0.05%     
  Complexity       48       48              
============================================
  Files           440      440              
  Lines         15634    15667      +33     
  Branches       1520     1527       +7     
============================================
+ Hits          11983    12017      +34     
- Misses         2979     2980       +1     
+ Partials        672      670       -2     
Impacted Files Coverage Δ
...try/jdbc/convertor/AppRevisionDomainConvertor.java 67.64% <14.28%> (-6.13%) :arrow_down:
...r/meta/provide/data/DefaultProvideDataService.java 36.73% <21.73%> (-4.60%) :arrow_down:
...gistry/server/meta/cleaner/AppRevisionCleaner.java 76.61% <66.66%> (-1.08%) :arrow_down:
...erver/meta/slot/status/SlotTableStatusService.java 63.63% <0.00%> (-5.46%) :arrow_down:
...eta/lease/session/DefaultSessionServerManager.java 92.00% <0.00%> (+2.00%) :arrow_up:
...ofa/registry/server/data/timer/CacheCountTask.java 97.50% <0.00%> (+2.50%) :arrow_up:
...dbc/repository/impl/AppRevisionJdbcRepository.java 65.17% <0.00%> (+2.67%) :arrow_up:
...c/repository/impl/RecoverConfigJdbcRepository.java 79.66% <0.00%> (+3.38%) :arrow_up:
...sion/providedata/FetchClientOffAddressService.java 72.29% <0.00%> (+4.05%) :arrow_up:
...server/meta/slot/arrange/CrossDcSlotAllocator.java 70.42% <0.00%> (+4.22%) :arrow_up:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fce2785...5eaa32f. Read the comment docs.