-
Notifications
You must be signed in to change notification settings - Fork 1
6. Concurrency Control
ShujianQian edited this page Jan 14, 2022
·
3 revisions
Phase | Insert | InsertComplete | Append | AppendComplete | Execute | ExecuteComplete | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Actions |
Batch initialization creates new VHandle
|
IPPT initialization creates new VHandle
|
IPPT Append to extraVHandle
|
IPPT Read Row
|
Batch initialization creates new VHandle
|
Major GC - Run GC
|
Batch Append to VHandle
|
Grow VHandle
|
GC VHandle
|
GC extraVHandle
|
N.A. |
EPPT Initialization creates new VHandle
|
EPPT Initialization creates new version
|
BT reads row with version
|
BT writes row with version
|
||
Insert |
VHandle creation during batch initialization.
|
Problem: contented accesses/writes to the same hash table. Solution: performs the addition with CAS(). |
Impossible: Different Phases |
Impossible: Different Phases |
Impossible: Different Phases |
Impossible: Different Phases |
Impossible: Different Phases |
Impossible: Different Phases |
|||||||||
d1 | No Conflict |