Skip to content

Commit

Permalink
[fix][metadata] Set revalidateAfterReconnection true for certain fail…
Browse files Browse the repository at this point in the history
…ures (apache#17664)

(cherry picked from commit c40c7ee)
  • Loading branch information
michaeljmarshall authored and nicoloboschi committed Sep 19, 2022
1 parent f394cc8 commit f1d72bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ synchronized void lockWasInvalidated() {
// We failed to revalidate the lock due to connectivity issue
// Continue assuming we hold the lock, until we can revalidate it, either
// on Reconnected or SessionReestablished events.
revalidateAfterReconnection = true;
log.warn("Failed to revalidate the lock at {}. Retrying later on reconnection {}", path,
ex.getCause().getMessage());
}
Expand Down

0 comments on commit f1d72bf

Please sign in to comment.