Skip to content

Commit

Permalink
Update ReadWriteBackingMap.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mgamanho authored Sep 26, 2024
1 parent 001663f commit 8d684f9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5851,7 +5851,6 @@ protected void replace(Entry entry)
Binary binKey = entry.getBinaryKey();
boolean fSync = getWriteQueue() == null;

log("**MG** replace(1)");
// Ensure that the key is owned and the entry is locked before doing
// the replace operation. Write-through or non-blocking operations
// are guaranteed to have the entry locked and partition pinned.
Expand All @@ -5865,11 +5864,9 @@ protected void replace(Entry entry)
{
try
{
log("**MG** replace(2)");
Binary binValue = entry.getBinaryValue();
if (Base.equals(binValue, mapInternal.get(binKey)))
{
log("**MG** replace(3)");
if (entry.isChanged())
{
// the store operation changed the value; replace
Expand Down

0 comments on commit 8d684f9

Please sign in to comment.