Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vinogradov committed Sep 19, 2023
1 parent 9ad63d9 commit ba486f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,7 @@ private boolean localGet(AffinityTopologyVersion topVer, KeyCacheObject key, int
if (readNoEntry) {
KeyCacheObject key0 = (KeyCacheObject)cctx.cacheObjects().prepareForCache(key, cctx);

CacheDataRow row = cctx.mvccEnabled() ?
cctx.offheap().mvccRead(cctx, key0, mvccSnapshot()) :
cctx.offheap().read(cctx, key0);
CacheDataRow row = cctx.offheap().read(cctx, key0);

if (row != null) {
long expireTime = row.expireTime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public GridPartitionedSingleGetFuture(
@Nullable MvccSnapshot mvccSnapshot
) {
assert key != null;
assert mvccSnapshot == null || cctx.mvccEnabled();
assert mvccSnapshot == null;

AffinityTopologyVersion lockedTopVer = cctx.shared().lockedTopologyVersion(null);

Expand Down

0 comments on commit ba486f8

Please sign in to comment.