Skip to content

Commit

Permalink
IGNITE-6815 NPE when using expiry policy: storeLoadedVal needs to be …
Browse files Browse the repository at this point in the history
…set at each branch of these conditionals or NPE in inevitible. - Fixes #3726.

Signed-off-by: dpavlov <dpavlov@apache.org>
  • Loading branch information
Reed Sandberg authored and dspavlov committed Apr 4, 2018
1 parent 4b7ce96 commit 28304fd
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -4708,6 +4708,7 @@ else if (updateExpireTime && expiryPlc != null && entry.val != null){
expiryPlc.ttlUpdated(entry.key, entry.ver, null);

needUpdate = true;
storeLoadedVal = entry.val;
}
}
}
Expand Down

0 comments on commit 28304fd

Please sign in to comment.