Advice about Barriers (1)
- It is very easy to reach deadlock if barriers are not handled correctly. PGENESIS tries to warn you by printing a message that it is waiting at a barrier.
- Examples of incorrect barrier usage:
- Each node executes: barrier {mynode}
- Each node executes: barrier@all
- A single node executes: barrier@others; barrier; However: async barrier@others; barrier will work!
Notes:
No notes for slide 36