How does Tekton handle parallel tasks that access the same workspace?

Viewed 420

In Tekton it's possible to set up a pipeline with multiple tasks that can (potentially) run in parallel and that access the same workspace. However, the documentation is not completely clear on what happens in this situation. Does it "lock" the workspace and force one task to wait until the other is done using it, or can both the tasks access and modify it at the same time (potentially interfering with each others' execution)?

1 Answers

Both tasks can access and modify it at the same time. There is no locking. Be careful that you do not have a concurrency problem!

Related