[fix](profile) fix possible coredump of rpc verbose profile (#40117)
## Proposed changes Issue Number: close #xxx `_instance_to_rpc_stats_vec` may be updated when sorting in `ExchangeSinkBuffer<Parent>::update_profile`, which may cause coredump.
This commit is contained in:
@ -712,7 +712,7 @@ public class SessionVariable implements Serializable, Writable {
|
||||
public boolean enableProfile = false;
|
||||
|
||||
@VariableMgr.VarAttr(name = ENABLE_VERBOSE_PROFILE, needForward = true)
|
||||
public boolean enableVerboseProfile = true;
|
||||
public boolean enableVerboseProfile = false;
|
||||
|
||||
@VariableMgr.VarAttr(name = RPC_VERBOSE_PROFILE_MAX_INSTANCE_COUNT, needForward = true)
|
||||
public int rpcVerboseProfileMaxInstanceCount = 5;
|
||||
|
||||
Reference in New Issue
Block a user