Optimistic Lock Coupling Flashcards
(3 cards)
1
Q
OLC Read
A
- Read lock version (restart if not free)
- Access node
- Read the version again and validate that it has not changed in the meantime
2
Q
OLC Write
A
- Acquire lock (wait if necessary)
- Access/write to node
- Increment version and unlock node
3
Q
A