gerrit/gerrit-cache-h2
Hugo Arès b4cb044be9 Revert "Reduce chance of deadlock in account cache"
This reverts commit 00fc15ac00.

With Caffeine, accessing the cache from the cache loader is causing an
infinite loop [1]. Merging that change up to stable-2.15 exposed that
there is still at least one cache loader (PatchListLoader) accessing its
cache (PatchListCacheImpl).

The test going into an infinite loop on stable-2.15 is
RevisionDiffIT.rebaseHunksOneLineApartFromRegularHunkAreIdentified.

Revert the change until circular dependency is removed or a solution is
found to access the cache from the cache loader.

[1]https://github.com/ben-manes/caffeine/issues/89

Bug: Issue 8464
Change-Id: If65560b4a9bfcf0a03decaedd83ad000c6b28f4f
2018-02-27 21:26:11 -05:00
..
src Revert "Reduce chance of deadlock in account cache" 2018-02-27 21:26:11 -05:00
BUILD Revert "Reduce chance of deadlock in account cache" 2018-02-27 21:26:11 -05:00