Skip to content

Commit

Permalink
repair full gc
Browse files Browse the repository at this point in the history
  • Loading branch information
hailu committed Sep 14, 2024
1 parent 23ad501 commit 2d55bce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ private void submitNoneKeyCommand(RedisOpCommand<?> command, long commandOffset)

/* do some stuff when finish */

releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());
increaseOffsetWhenSuccess(current, commandOffset);
releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());

/* run self */

Expand Down Expand Up @@ -189,8 +189,8 @@ private void submitSingleKeyCommand(RedisOpDataCommand<?> command, long commandO

/* do some stuff when finish */

releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());
increaseOffsetWhenSuccess(current, commandOffset);
releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());

/* run self */

Expand All @@ -212,8 +212,8 @@ private void submitMultiKeyCommand(RedisOpDataCommand<?> command, long commandOf
forgetWhenDone(current, key);
}

releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());
increaseOffsetWhenSuccess(current, commandOffset);
releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());

current.execute();
}
Expand All @@ -240,8 +240,8 @@ private void submitObstacle(RedisOpCommand<?> command, long commandOffset) {

/* do some stuff when finish */

releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());
increaseOffsetWhenSuccess(current, commandOffset);
releaseMemoryThresholdWhenDone(current, command.redisOp().estimatedSize());

/* run self */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public void onRdbData(ByteBuf rdbData) {

@Override
public void endReadRdb(EofType eofType, GtidSet emptyGtidSet, long rdbOffset) {
logger.info("[endReadRdb] eofType={}", eofType);
}

@Override
Expand Down

0 comments on commit 2d55bce

Please sign in to comment.