]> source.dussan.org Git - jgit.git/commit
reftable: clear cache on full compaction 29/156829/5
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 29 Jan 2020 18:11:00 +0000 (19:11 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 10 Feb 2020 23:03:09 +0000 (00:03 +0100)
commit8c9f7656c3078a4d4a2986400a9700a9c13b416f
tree29580fb9462b3ed633a91452e84dc6513e7d86da
parentdd203f03c2ac8444b6c4804653c829a986660973
reftable: clear cache on full compaction

The merged table contains handles to open files. A full compaction
causes those files to be closed, and so further lookups would fail
with EBADF.

Change-Id: I7bb74f7228ecc7fec9535b00e56a617a9c18e00e
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableDatabase.java