in src/main/java/com/googlesource/gerrit/plugins/events/fsstore/UpdatableFileValue.java [159:175]
protected T spinGet() throws IOException {
IOException ioe = new IOException("No chance to read " + updatable.path);
for (; tries < maxTries; tries++) {
try {
return updatable.get(); // Phase 2
} catch (IOException e) {
Nfs.throwIfNotStaleFileHandle(e);
finished = !Files.exists(upaths.udir);
if (finished) {
// stale handle must have been caused by another actor completing instead
return null;
}
ioe = e;
}
}
throw ioe;
}