Our system has one leader node that stores all file meta-data within the system and processes all put/get requests made from clients. For leader failure, we used ring leader election protocol.
wget https://dl.google.com/go/go1.13.src.tar.gz tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz export PATH=$GOPATH:~/go
- mkdir ~/go
- cd ~/go
- git clone https://gitlab.engr.illinois.edu/hl8/cs425.git
- cd distributed_system
- cd Process
- cd distributed_file
- rm -rf *
- go build main.go
- ./main.go #VMnumber
- -h to see possible commands