Mit6.5840 Lab 3D
2025-5-27
| 2025-6-7
0  |  Read Time 0 min
type
status
date
slug
summary
tags
category
icon
password
这里开始回忆Lab3D的内容

偏移调整

3D我觉得最难的反而是进行log偏移的调整,通过rf.LastIncludeIndex来记录快照的偏移,需要狠狠的思考其边界条件是怎么样的
然后就是注意Make函数中,applyCh的赋予

SnapShot函数实现

InstallSnapshot RPC的实现

逻辑已在注释中说明
包括其上层函数
  • 开发
  • 四川大学网络空间安全学院考研经验贴Mit6.5840 Lab 3: Raft 3B 3C
    • Giscus
    • Cusdis
    Catalog