Closed halfninja closed 6 years ago
We are also seeing this, it's pretty nasty.
To confirm, with this fix, will getOrElseUpdate
clear the bad data?
It doesn't currently clear any data automatically but will at least reject the Future properly so that you could recover
and do whatever.
@mumoshu Can you have a look and merge?
@halfninja Good catch, and awesome work! Thanks for your contribution 👍
result.get
can throw an exception in various situations, like if a class definition has changed, and in this case the Promise or the resulting Future was never being completed, causing frozen requests for us when fetching old definitions from cache.Only affects 2.6 as older code uses
future.get
which is wrapped in atry/catch
.