Hello,
I am doing #3d of the distributed systems challenge (Challenge #3d: Efficient Broadcast, Part I · Fly Docs) and I am getting some weird errors:
log.(*Logger).output(0xc00007c0c0, 0x0, 0x2, 0xc00011bd08)
/usr/local/Cellar/go/1.23.4/libexec/src/log/log.go:235 +0x297
log.Printf(...)
/usr/local/Cellar/go/1.23.4/libexec/src/log/log.go:397
github.com/jepsen-io/maelstrom/demo/go.(*Node).Send(0xc000112000, {0xc0001845f0, 0x2}, {0x3d52ac0?, 0xc000094660?})
/Users/aloussase/go/pkg/mod/github.com/jepsen-io/maelstrom/demo/go@v0.0.0-20241204184542-016086a90274/node.go:225 +0x21f
github.com/jepsen-io/maelstrom/demo/go.(*Node).Reply(0xc000112000, {{0xc0001845f0, 0x2}, {0xc0001845f2, 0x2}, {0xc00018a420, 0x2c, 0x30}}, {0x3d52ac0, 0xc000094600})
/Users/aloussase/go/pkg/mod/github.com/jepsen-io/maelstrom/demo/go@v0.0.0-20241204184542-016086a90274/node.go:202 +0x192
main.handleBroadcast({{0xc0001845f0, 0x2}, {0xc0001845f2, 0x2}, {0xc00018a420, 0x2c, 0x30}})
/Users/aloussase/Code/fly-distributed-challenges/cmd/efficient-broadcast-i/main.go:47 +0x2f2
github.com/jepsen-io/maelstrom/demo/go.(*Node).handleMessage(0xc000112000, 0xc0000cc150?, {{0xc0001845f0, 0x2}, {0xc0001845f2, 0x2}, {0xc00018a420, 0x2c, 0x30}})
/Users/aloussase/go/pkg/mod/github.com/jepsen-io/maelstrom/demo/go@v0.0.0-20241204184542-016086a90274/node.go:151 +0x8d
github.com/jepsen-io/maelstrom/demo/go.(*Node).Run.func2()
/Users/aloussase/go/pkg/mod/github.com/jepsen-io/maelstrom/demo/go@v0.0.0-20241204184542-016086a90274/node.go:129 +0x77
created by github.com/jepsen-io/maelstrom/demo/go.(*Node).Run in goroutine 1
/Users/aloussase/go/pkg/mod/github.com/jepsen-io/maelstrom/demo/go@v0.0.0-20241204184542-016086a90274/node.go:127 +0x4f8
I don’t know if this is a bug in the maelstrom library or what is happening. My code is here: fly-distributed-challenges/cmd/efficient-broadcast-i/main.go at main · aloussase/fly-distributed-challenges · GitHub
Thank you.