Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target如何支持热升级过程中nvmf不断连 #14

Open
benqwu opened this issue Feb 1, 2024 · 2 comments
Open

target如何支持热升级过程中nvmf不断连 #14

benqwu opened this issue Feb 1, 2024 · 2 comments

Comments

@benqwu
Copy link

benqwu commented Feb 1, 2024

https://mp.weixin.qq.com/s/t6dXP1_Cx7YBT4bV7odqCA
一文中介绍liteio有提到:
"Target 整体框架如下图所示,在热升级期间必须保持 nvmf 的网络连接不可中断,否则 host 侧会感知并去重连或者删除盘符,热升级采用旧的 target 程序 fork 新的 target 程序并加载新的二进制文件来实现,整个热升级过程中 IO 不可丢失,新旧进程的切换速度要快。基于热升级框架的简单性设计原则,热升期间下图中绿色的 TCP 或 RDMA 连接为必须保持的上下文,其他模块均无需保存上下文状态,网络连接的保持通过父子进程继承文件描述符的方式实现。"

我在liteio开源代码中没有找到这方面的实现,请问这个特性有进行开源吗

@silentred
Copy link
Collaborator

@benqwu 目前数据面还没有开源,未来有计划开源。热升级的原理后续会有文章详细介绍。

@benqwu
Copy link
Author

benqwu commented Feb 1, 2024

@benqwu 目前数据面还没有开源,未来有计划开源。热升级的原理后续会有文章详细介绍。

谢谢,请问一下有大概的时间点吗,什么时候会进行开源以及热升级的原理介绍

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

No branches or pull requests

2 participants