[infinispan-dev] Repeatable read nulls

Pedro Ruivo pedro at infinispan.org
Mon Jan 25 06:03:36 EST 2016


Hi Radim

For RepeatableRead, skipLookup is set to true so valueIsMissing() is 
going to return false.

Cheers,
Pedro

On 01/25/2016 10:57 AM, Radim Vansa wrote:
> Hi,
>
> in transactional mode with repeatable reads, the read entry is stored in
> the context, even if it is null (iiuc). However, in
> TxDistributionInterceptor.visitGetKeyValueCommand the valueIsMissing()
> is checked which returns true if entry.isNull() (in RepeatableReadEntry
> this is implemented as value == null). Therefore, null reads are not
> repeatable.
>
> Any reason for that?
>
> Radim
>


More information about the infinispan-dev mailing list