If you encounter an issue similar to the one described below:
1 groups.go:954] Leader idx=0x1 of group=1 is connecting to Zero for txn updates
1 groups.go:966] Got Zero leader: zero1:5080
1 draft.go:770] Proposal with key: 368760529821136 already applied. Skipping index: 70557120. Delta: max_assigned:76962721 group_checksums:<key:1 value:17473684108039954740 > Snapshot: <nil>.
2024/03/17 14:40:56 unexpected EOF
github.com/dgraph-io/dgraph/x.Check
/home/runner/work/dgraph/dgraph/x/error.go:42
github.com/dgraph-io/dgraph/worker.(*node).processApplyCh.func1
/home/runner/work/dgraph/dgraph/worker/draft.go:759
github.com/dgraph-io/dgraph/worker.(*node).processApplyCh
/home/runner/work/dgraph/dgraph/worker/draft.go:818
runtime.goexit
/opt/hostedtoolcache/go/1.19.12/x64/src/runtime/asm_amd64.s:1594
1 init.go:85]
You can resolve it by above the method I’ve shared. It took me several hours to fix this(A very big dataset). I tried every possible solution but couldn’t move past the faulty snapshot. It was completely stuck. So, I backed up the ‘p’ folder and then deleted ‘p’. I performed the stream as mentioned in the tip above. I removed the paths ‘/w’ and ‘/zw’ (but kept zero running). For safety, I made another backup. Then, I initiated the Alpha again. Success.
I hope this helps.