Skip to content

Commit

Permalink
GG-11766 Fixing issues after merging db-x and ea7 branch to backup-id…
Browse files Browse the repository at this point in the history
…x branch
  • Loading branch information
EdShangGG committed Dec 12, 2016
1 parent 47e0116 commit 59da0ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Expand Up @@ -891,11 +891,8 @@ public CacheDataStoreImpl(
rowStore.removeRow(old.link()); rowStore.removeRow(old.link());
} }


if (pendingEntries != null && expireTime != 0) { if (pendingEntries != null && expireTime != 0)
pendingEntries.put(new PendingRow(expireTime, dataRow.link())); pendingEntries.put(new PendingRow(expireTime, dataRow.link()));

cctx.ttl().onPendingEntryAdded(expireTime);
}
} }
finally { finally {
busyLock.leaveBusy(); busyLock.leaveBusy();
Expand Down
Expand Up @@ -935,9 +935,9 @@ else if (owners.contains(e.getKey()))


try { try {
if (skipZeros) { if (skipZeros) {
Map<Integer, Long> res = U.newHashMap(cntrMap.size()); Map<Integer, T2<Long, Long>> res = U.newHashMap(cntrMap.size());


for (Map.Entry<Integer, Long> e : cntrMap.entrySet()) { for (Map.Entry<Integer, T2<Long, Long>> e : cntrMap.entrySet()) {
if (!e.getValue().equals(ZERO)) if (!e.getValue().equals(ZERO))
res.put(e.getKey(), e.getValue()); res.put(e.getKey(), e.getValue());
} }
Expand Down

0 comments on commit 59da0ce

Please sign in to comment.