EOFException From BinaryEntryStore When Calling BinaryEntry.getOriginalValue()
(Doc ID 1334446.1)
Last updated on OCTOBER 20, 2023
Applies to:
Oracle Coherence - Version 3.6.0 and laterInformation in this document applies to any platform.
Symptoms
A BinaryEntryStore calls BinaryEntry.getOriginalValue() from the store() method to access the previous value of an entry.
This is following the guidance given by Oracle in the Javadoc for BinaryEntryStore:
"Additionaly, for the purpose of the optimistic concurrency control,
implementations could rely on the entry's "previous" values: in the external
format using BinaryEntry.getOriginalValue() and in the internal format using
the BinaryEntry.getOriginalBinaryValue() methods (for store operations, a
value of null here would indicate an insert operation). "
implementations could rely on the entry's "previous" values: in the external
format using BinaryEntry.getOriginalValue() and in the internal format using
the BinaryEntry.getOriginalBinaryValue() methods (for store operations, a
value of null here would indicate an insert operation). "
Scenario
- Insert an entry for key k
- Sleep to allow write-behind. During write behind getOriginalValue() returns null.
- Clear the cache
- Re-insert entry with key k
- Sleep to allow write-behind. During write behind getOriginalValue() throws EOFException.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Scenario |
Changes |
Cause |
Solution |
References |