Skip to content

Commit

Permalink
- fix watermark
Browse files Browse the repository at this point in the history
 - add log
  • Loading branch information
yuzhi.lyz committed Aug 5, 2021
1 parent 68a237a commit f4f4562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ boolean sync(
final KeyedTask<SyncLeaderTask> syncLeaderTask = slotState.syncLeaderTask;
if (syncLeaderTask != null && !syncLeaderTask.isFinished()) {
// must wait the sync leader finish, avoid the sync-leader conflict with sync-session
LOGGER.warn("wait for sync-leader to finish, {},{}", slot, syncLeaderTask);
LOGGER.warn("[waitSyncLeader]wait for sync-leader to finish, {},{}", slot, syncLeaderTask);
return false;
}
slotState.syncLeaderTask = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ public class SessionServerConfigBean implements SessionServerConfig {

private int syncSessionIOLowWaterMark = 1024 * 288;

private int syncSessionIOHighWaterMark = 1024 * 512;
private int syncSessionIOHighWaterMark = 1024 * 320;

private int clientIOLowWaterMark = 1024 * 288;

private int clientIOHighWaterMark = 1024 * 320;
private int clientIOHighWaterMark = 1024 * 512;

private int metaServerPort = 9610;

Expand Down

0 comments on commit f4f4562

Please sign in to comment.