[infinispan-issues] [JBoss JIRA] (ISPN-7528) Store CacheTransaction.keyRead(...) in RepeatableReadEntry

Radim Vansa (JIRA) issues at jboss.org
Fri Feb 24 12:26:00 EST 2017


    [ https://issues.jboss.org/browse/ISPN-7528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13369151#comment-13369151 ] 

Radim Vansa commented on ISPN-7528:
-----------------------------------

[~dan.berindei] When OptimisticLockingInterceptor is invoked, the entry is not wrapped in the context yet, so we have to mark it later. But yes, I had {{ReadCommittedEntry.setFlag(Flags.READ)}} in mind.

> Store CacheTransaction.keyRead(...) in RepeatableReadEntry
> ----------------------------------------------------------
>
>                 Key: ISPN-7528
>                 URL: https://issues.jboss.org/browse/ISPN-7528
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>
> Rather than keeping another collection of keys ({{LocalTransaction.readKeys}}), we could store the information if the key was read in flag for RepeatableReadEntry.
> That would require marking the read keys in EntryFactory, though, rather than in OptimisticLockingInterceptor.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list