Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Oct 13, 2023
1 parent 8ba6463 commit 0f1ecc6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/diary/2023-10-14-implementing-relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,13 @@ Because the target of access control is a user.
This is not a bad limitation,
because we are using a client/server architechure,
in which every request is sent by a user or a guest.

# Check consistency during reading

Since a double-link is built by two requests,
when the first request success but the second fail,
the state of the double-link will be inconsistent.

We can solve this problem by checking consistency
during reading the first endpoint of the double-link,
and amend the double-link if it is broken.

0 comments on commit 0f1ecc6

Please sign in to comment.