You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143305: util/mon: reduce monitor-related allocations r=mgartner a=mgartner
#### util/mon: rename fields of MonitorName
Release note: None
#### util/uuid: add comment to uuid.Short
Release note: None
#### util/mon: add fields to MonitorName
The `processorID`, `suffix`, and `i` fields will be used in future
commits to reduce allocations related to MonitorNames.
Release note: None
#### util/mon: compile-time checks for size of BytesMonitor and BoundAccount
Release note: None
#### sql: use mon.MonitorName in more places
Using structured `mon.MonitorName` objects reduces allocations of
strings in some cases. This commit doesn't replace all usages of string
monitor names - there are myriad such usages. We can iteratively chip
away at them in future commits.
Release note: None
#### util/mon: reduce size of MonitorName
The size of `MonitorName` has been reduced by replacing the string
suffix with a suffix enum.
Release note: None
#### util/mon: further reduce the size of MonitorName
The size of `MonitorName` has been reduced by using the same 4 bytes to
store either the `int32` processor ID or the `uuid.Short`, and by
reducing the optional integer suffix from an `int32` to `uint16`, which
should be sufficient in all cases.
Release note: None
#### util/mon: rename MonitorName to Name
Release note: None
#### util/mon: remove deprecated NewMonitorWithStringName
All usages of the deprecated NewMonitorWithStringName function have been
replaced with NewMonitor, and the former has been removed.
Release note: None
#### util/mon: remove deprecated NewMonitorInheritWithLimitAndStringName
All usages of the deprecated NewMonitorInheritWithLimitAndStringName
function have been replaced with NewMonitorInheritWithLimit, and the
former has been removed.
Release note: None
#### colexec: batch allocations of BoundAccount
Allocations of `BoundAccount`s in `createUnlimitedMemAccountsLocked` are
now batched into a single allocation.
Release note: None
#### sql/rowflow: refactor monitor name
The monitor names created in `(*rowBasedFlow).setupRouter` now use
`(*mon.Name).WithID` to add the stream ID to the name instead of
allocating a new string.
Epic: None
Release note: None
143390: raft: remove sync writes API r=tbg a=pav-kv
This PR removes the synchronous writes API from raft. All storage interaction is done via the asynchronous API, which used to be guarded by the `AsyncStorageWrites` config option. Further work will double down on the asynchronous API and make it type-safe.
Resolves#129411
Part of #124440
Co-authored-by: Marcus Gartner <[email protected]>
Co-authored-by: Pavel Kalinnikov <[email protected]>
0 commit comments