Skip to content

Commit

Permalink
fixup! skip already transitioned objects in data-mover
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerkesni committed Jul 24, 2024
1 parent ee122ec commit 99614ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/replication/tasks/CopyLocationTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ class CopyLocationTask extends BackbeatTask {
}
log.info('action execution ended', actionEntry.getLogInfo());
// skip object if it was already transitioned
if (err.InvalidObjectState || err.code === 'InvalidObjectState') {
if (err & (err.InvalidObjectState || err.code === 'InvalidObjectState')) {
log.info('object skipped: invalid object state', actionEntry.getLogInfo());
return { committable: true };
}
Expand Down

0 comments on commit 99614ba

Please sign in to comment.