rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[ISSUE #8058] Support for upgrading metadata in json to rocksdb (#8045)

Open LetLetMe opened this issue 2 years ago • 2 comments

Which Issue(s) This PR Fixes

Fixes #8058

Brief Description

How Did You Test This Change?

LetLetMe avatar May 10 '24 09:05 LetLetMe

Codecov Report

Attention: Patch coverage is 53.88350% with 95 lines in your changes are missing coverage. Please review.

Project coverage is 43.00%. Comparing base (159a603) to head (e7431fc). Report is 22 commits behind head on develop.

Files Patch % Lines
...s/command/metadata/RocksDBConfigToJsonCommand.java 0.00% 30 Missing :warning:
.../subscription/RocksDBSubscriptionGroupManager.java 68.35% 18 Missing and 7 partials :warning:
...e/rocketmq/common/config/ConfigRocksDBStorage.java 0.00% 16 Missing :warning:
...cketmq/broker/topic/RocksDBTopicConfigManager.java 71.42% 5 Missing and 5 partials :warning:
...g/apache/rocketmq/broker/RocksDBConfigManager.java 86.36% 2 Missing and 1 partial :warning:
...ache/rocketmq/broker/topic/TopicConfigManager.java 40.00% 2 Missing and 1 partial :warning:
...ache/rocketmq/store/config/MessageStoreConfig.java 25.00% 3 Missing :warning:
...mq/broker/offset/RocksDBConsumerOffsetManager.java 50.00% 1 Missing and 1 partial :warning:
.../broker/subscription/SubscriptionGroupManager.java 80.00% 2 Missing :warning:
.../apache/rocketmq/tools/command/MQAdminStartup.java 0.00% 1 Missing :warning:
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8116      +/-   ##
=============================================
+ Coverage      42.94%   43.00%   +0.05%     
- Complexity     10387    10424      +37     
=============================================
  Files           1270     1271       +1     
  Lines          88694    88917     +223     
  Branches       11401    11410       +9     
=============================================
+ Hits           38092    38241     +149     
- Misses         45914    45953      +39     
- Partials        4688     4723      +35     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar May 11 '24 03:05 codecov-commenter

I checked the code, and it seems that upgrading from the 5.2.0 version with RocksDB enabled to this modified version is fully compatible, isn't it?

没问题 No problem

LetLetMe avatar May 22 '24 03:05 LetLetMe