DeferredResult not thread-safe for isSetOrExpired call [SPR-13451] #18031
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Jamie Hodkinson opened SPR-13451 and commented
The use of DeferredResult is usually from other threads than the one it was created on.
Clients may call isSetOrExpired to check the state of the result: however this may return stale information as it has no synchronization, unlike the setResultInternal method, which synchronizes.
Affects: 3.2.14, 4.1.7, 4.2.1
Issue Links:
Referenced from: commits 73a2407, ae0d945, 045016e
Backported to: 4.1.8, 3.2.15
The text was updated successfully, but these errors were encountered: