Skip to content

Commit

Permalink
Update projects/raft-otel/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Wagner-Hall <[email protected]>
  • Loading branch information
lauranooooo and illicitonion authored Jun 6, 2024
1 parent 13d9ac4 commit b83a961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/raft-otel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ own implementation if you have time at the end of the sprint.
The reason we do not serve read operations (here, `get`) from hosts that are not the RAFT leader is that they might have stale data.
You could update the K/V Get operation to include parameters to let the client do stale reads from non-leaders.
Ideally, you would allow the client to specify a duration of allowed staleness, and check whether the instance has successfully
processed an incoming AppendEntries message from the leader within that duration.
processed an incoming AppendEntries message from the leader within that duration. The response from the `get` should probably include an indication of whether the read is stale.


### Part 2: Add distributed tracing
Expand Down

0 comments on commit b83a961

Please sign in to comment.