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
149315: cli(debug.zip): upload profiles from node subdirectories r=aa-joshi a=aa-joshi
Previously, debug zip upload to Datadog would only considers and uploads cpu and
heap profiles which are in node sub-directories. This was inadequate because we
have cpu and heap profiles as part of `nodes/*/cpuprof` & `nodes/*/heapprof`
directories which will be ignored during upload. To address this, this patch
considers profiles of `cpuprof` and `heapprof` directories during the Datadog
upload. This patch also updates the profile explorer link generated after
upload.
Epic: [CRDB-52093](https://cockroachlabs.atlassian.net/browse/CRDB-52093)
Part of: CRDB-51119
Release note: None
-----
PFA screenshot after changes:
<img width="1330" alt="Screenshot 2025-07-09 at 11 09 58 AM" src="https://github.com/user-attachments/assets/c220e519-d55c-4a7b-9c7d-499199317e76" />
150379: kvserver: record follower write bytes in replica load r=tbg a=wenyihu6
**kvserver: takes write and ingested bytes for recordRequestWriteBytes**
Previously, recordRequestWriteBytes took a *kvadmission.StoreWriteBytes, which
was unnecessary since we're only recording write and ingested bytes, not
anything admission control specific. This commit changes the function to accept
the raw byte counts directly. This also sets up a future change where follower
replicas would not pass in StoreWriteBytes during recording.
Epic: none
Release note: none
---
**kvserver: record follower write bytes in replica load**
Previously, write bytes for range load were only tracked on leaseholder replicas
during proposal, leaving write bytes written to follower replicas unaccounted
for. This commit updates the tracking to include write bytes on follower
replicas as well.
Epic: none
Release note: none
---
**kvserver: record follower write bytes during recordStatsOnCommit**
Previously, we recorded write bytes for follower replicas in
runPostAddTriggersReplicaOnly, right before apply, which could be inaccurate
since stats should be recorded at commit time. This commit moves the recording
to recordStatsOnCommit by including the write bytes in the batch stats.
Epic: none
Release note: none
---
**kvserver: rename numWriteBytes to numWriteAndIngestedBytes**
This commit renames numWriteBytes in appBatchStats to numWriteAndIngestedBytes
for accuracy, as it accounts for both bytes written to the replica and bytes
ingested via SSTables.
Epic: none
Release note: none
Co-authored-by: Akshay Joshi <[email protected]>
Co-authored-by: wenyihu6 <[email protected]>
0 commit comments