Skip to content

TestMultipleNodes #14

@SeatSnobAri

Description

@SeatSnobAri

Hey im working through the book. I've been stuck debugging the coordinate your services with consensus test.

    distributed_test.go:50: 
                Error Trace:    /Users/arishaller/proglog/internal/log/distributed_test.go:50
                Error:          Received unexpected error:
                                node is not the leader
                Test:           TestMultipleNodes
FAIL
2022-09-15T11:52:01.697-0400 [DEBUG] raft: calculated votes needed: needed=2 term=3
2022-09-15T11:52:01.697-0400 [DEBUG] raft: vote granted: from=0 term=3 tally=1
2022-09-15T11:52:01.697-0400 [DEBUG] raft: lost leadership because received a requestVote with a newer term

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions