Skip to content

Bug-terminator/mit6.824PrettyLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Overview

Pretty log for MIT6.824 distributed system.

avatar

Get Started

rf.Dprintf

This function is in the util.go file,and generates prefix like31883: [peer 1 follower at Term 58 with Log 317 230 tailterm 50 ].The usage is very simple,for example:

rf.DPrintf("[%d send AEs]",rf.me)

will result in

You can DIY it according to your own needs.

vscode Highlighter

  • Download plug-in

  • pressctrl+shift+p and enter settings,choose preference:open settings(JSON),Copy my settings.json into it.

go_test_many.sh

You can use this shell script to Parallel test your code.This video shows how to use it@1:20:30

All three files mentioned above are in the kit folder😋Enjoy your Debug journey.

About

Pretty log for MIT 6.824.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published