pipeline: opt out of copy-on-write for objects
When committing an object to the store, clone it if the current stage is not the latests stage, i.e. `todo` has still entries. This is the second step of the removal of copy-on-write support in `Object`.
This commit is contained in:
parent
daa2e1c3bb
commit
3e8d2c21dc
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ class Pipeline:
|
|||
tree.id = stage.id
|
||||
|
||||
if stage.checkpoint:
|
||||
object_store.commit(tree, stage.id)
|
||||
object_store.commit(tree, stage.id, clone=bool(todo))
|
||||
|
||||
return results
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue