Skip to content

Commit a27e4c5

Browse files
authored
vine: correctly assign to cache_level when file is reused (#4075)
1 parent 54aaae7 commit a27e4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskvine/src/manager/vine_manager_put.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ static vine_result_code_t vine_manager_put_input_file_if_needed(struct vine_mana
427427
if (replica) {
428428
if (f->cache_level < VINE_CACHE_LEVEL_WORKFLOW) {
429429
debug(D_VINE, "File %s is not marked as a cachable file, but it is used by more than one task. Marking as cachable.", f->source);
430-
f->flags |= VINE_CACHE_LEVEL_WORKFLOW;
430+
f->cache_level = VINE_CACHE_LEVEL_WORKFLOW;
431431
}
432432

433433
return VINE_SUCCESS;

0 commit comments

Comments
 (0)