Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
hust-hhb committed Jan 23, 2025
1 parent 6b56ae5 commit be9477c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ public class SessionVariable implements Serializable, Writable {
public long insertVisibleTimeoutMs = DEFAULT_INSERT_VISIBLE_TIMEOUT_MS;

@VariableMgr.VarAttr(name = MOW_INSERT_VISIBLE_TIMEOUT_MS, needForward = true)
public long MowInsertVisibleTimeoutMs = DEFAULT_MOW_INSERT_VISIBLE_TIMEOUT_MS;
public long mowInsertVisibleTimeoutMs = DEFAULT_MOW_INSERT_VISIBLE_TIMEOUT_MS;

// max memory used on every backend.
@VariableMgr.VarAttr(name = EXEC_MEM_LIMIT)
Expand Down Expand Up @@ -3442,7 +3442,7 @@ public long getInsertVisibleTimeoutMs(boolean isCloudMow) {
// completing task requires more time, mainly spent on waiting for delete bitmap locks.
// Now delete_bitmap_lock_expiration_seconds has been set to 60s, correspondingly, insert task timeout
// should also be adjusted to 60s.
timeOutMs = isCloudMow ? MowInsertVisibleTimeoutMs : insertVisibleTimeoutMs;
timeOutMs = isCloudMow ? mowInsertVisibleTimeoutMs : insertVisibleTimeoutMs;
}
return timeOutMs;
}
Expand Down

0 comments on commit be9477c

Please sign in to comment.