]> source.dussan.org Git - jgit.git/commit
Improve handling of NFS stale handle errors 53/205553/5
authorDariusz Luksza <dariusz.luksza@gmail.com>
Mon, 20 Nov 2023 11:53:19 +0000 (11:53 +0000)
committerDariusz Łuksza <dariusz.luksza@gmail.com>
Sun, 28 Jan 2024 17:54:36 +0000 (17:54 +0000)
commitc701c01b49d92993f1c3df0a0e26a2dd68b8cec1
treef67f985624de796002733fea83e96cc2e87b1dbc
parente0910eda3ea1c474b4cf9b00ac698f739a982f8c
Improve handling of NFS stale handle errors

Mark packfile as invalid when NFS stale handle error occurs.

This should fix broken fetch operations when the repo is located on the
NFS system and is GC'ed on a separate system (or process). Which may
result in the index, pack or bitmap file being removed when they are
accessed from the fetch operation.

Bug: 573770
Signed-off-by: Dariusz Luksza <dariusz.luksza@gmail.com>
Change-Id: I70217bfb93bf7421ea2c1d74cbe4f15c76d9c098
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/Pack.java