Skip to content

mvcc state manager & pipeline #2429

@greenhat616

Description

@greenhat616

需求 / Requirement

目前的配置 patch 逻辑,以及内核管理过于复杂、杂糅

  • 引入 pipeline,统一线程 dispatch state 来依次执行逻辑

    • 每一时间只有一个 pipeline 能执行,用于管理配置的生命周期,比如说 patch、切换等都需要跑一遍 pipeline
  • 修改当前实验性的 state manager 为 mvcc 的。pipeline 内部使用 mvcc,确保 pipeline patch 的配置不会污染到其他正常作用域。

建议实现 / Suggested implements

x

备注 / Addition details

x

Clash Nyanpasu 版本号 / Clash Nyanpasu

x

是否为 Pre-release / Is pre-release version

x

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已仔细查看并知情 Q&A 中的内容 / You have checked Q&A carefully
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个功能。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make multiply issue for multiply feature request
  • 您确保已使用最新 Pre-release 版本测试,并且该功能在最新 Pre-release 版本中并未实现 / This feature have not implemented in latest Pre-release version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions