Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
Signed-off-by: Xudong Sun <[email protected]>
  • Loading branch information
marshtompsxd committed Oct 25, 2024
1 parent 5ba6f02 commit 11db9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discussion/fairness/fairness-on-controller-race.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ write(..., v2) // err
```
where every time between $C$'s `read` and `write`, some controller from $S$ successfully writes the object, making the version number read by $C$ no longer fresh. In this execution, $C$ runs fairly but it will never successfully writes the object.

Note that this example is realistic. In practice, Kubernetes controllers share objects in this same --- they update different parts of the object while racing with each other. This usually doesn't block any controller's progress indefinitely, because (1) there is usually a long time window between each controller's successful `write` and its next `write`, (2) if a controller's `write` fails, it can aggressively retry `read; if P { write; }`, and (3) there aren't too many controllers sharing the same object at the same time.
Note that this example is realistic. In practice, Kubernetes controllers share objects in this way --- they update different parts of the object while racing with each other. This usually doesn't block any controller's progress indefinitely, because (1) there is usually a long time window between each controller's successful `write` and its next `write`, (2) if a controller's `write` fails, it can aggressively retry `read; if P { write; }`, and (3) there aren't too many controllers sharing the same object at the same time.

0 comments on commit 11db9f6

Please sign in to comment.