Skip to content

Commit 1b04ad0

Browse files
Fix timestamp bug in commit_barrier
1 parent e39a028 commit 1b04ad0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fenix_data_recovery.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,8 @@ int __fenix_data_commit_barrier(int groupid, int *timestamp) {
601601
fenix.ignore_errs = old_failure_handling;
602602

603603
if(can_commit == 1){
604+
if (group->timestamp != -1) group->timestamp++;
605+
else group->timestamp = group->timestart;
604606
retval = group->vtbl.commit(group);
605607
}
606608

0 commit comments

Comments
 (0)