Denis Chudov created IGNITE-18219:
-------------------------------------

             Summary: Actual token is compared twice in 
VersionedValue#getInternal
                 Key: IGNITE-18219
                 URL: https://issues.apache.org/jira/browse/IGNITE-18219
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Chudov


Following code may be non-optimal or erroneous:
{code:java}
        if (causalityToken <= actualToken0) {
            return getValueForPreviousToken(causalityToken);
        }

        trimHistoryLock.readLock().lock();

        try {
            if (causalityToken <= actualToken0) {
                return getValueForPreviousToken(causalityToken);
            }
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to