Skip to content

Conversation

@Besroy
Copy link
Contributor

@Besroy Besroy commented Oct 28, 2025

add refactor logdev sb logic and auto refactor script for sddz upgrade


void LogStoreService::refactor() {
for (auto& [id, logdev] : m_id_logdev_map) {
logdev->refactor();
Copy link
Contributor

Choose a reason for hiding this comment

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

所有的log_dev都在这个meta_sub_type下。如果只启动metaservice,然后用类似这样的方式就能直接全部拿到所有的logdev_superblk, 然后按照新格式重新写一下,然后把之前的删掉,这样是不是会直接一些,不用在工具里启动logservice,代码会简单一些?

仅供参考

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.

2 participants