-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uploader: avoid cloning vecs just to get Bytes (#6645)
Fix cloning the serialized heatmap on every attempt by just turning it into `bytes::Bytes` before clone so it will be a refcounted instead of refcounting a vec clone later on. Also fixes one cancellation token cloning I had missed in #6618. Cc: #6096
- Loading branch information
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5374399
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2462 tests run: 2342 passed, 0 failed, 120 skipped (full report)
Flaky tests (2)
Postgres 15
test_crafted_wal_end[last_wal_record_crossing_segment]
: debug, releaseCode coverage (full report)
functions
:54.5% (11328 of 20789 functions)
lines
:81.6% (63746 of 78131 lines)
5374399 at 2024-02-06T12:46:53.896Z :recycle: