Skip to content

Commit

Permalink
do not set state of files pinned indefinitely to SKIPPED
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryLitvintsev committed Dec 9, 2024
1 parent a4c0df8 commit 4cb596c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ public void handleCompletion(BulkRequestTarget target, Future<Message> future) {
reply = getUninterruptibly(future);
if (reply.getReturnCode() != 0) {
target.setErrorObject(reply.getErrorObject());
} else if (reply instanceof PinManagerPinMessage
&& ((PinManagerPinMessage) reply).getLifetime() == -1L) {
target.setState(SKIPPED);
} else {
target.setState(State.COMPLETED);
}
Expand Down

0 comments on commit 4cb596c

Please sign in to comment.