Uh oh!
There was an error while loading. Please reload this page.
branch-3.1: [fix](load) Convert RowInBlock* to shared_ptr to fix potential memory leaks in MemTable #52902 - #52928
Merged
morrySnow merged 1 commit intoJul 9, 2025
Conversation
liaoxin01
commented
Jul 8, 2025
ContributorAuthor
run buildall |
hello-stephen
commented
Jul 8, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
liaoxin01force-pushed
the
pick_52902_to_origin_branch-3.1
branch
from
July 8, 2025 07:20
0acb870 to
809b77dCompareliaoxin01
commented
Jul 8, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Jul 8, 2025
TPC-H: Total hot run time: 39867 ms |
doris-robot
commented
Jul 8, 2025
TPC-DS: Total hot run time: 196394 ms |
doris-robot
commented
Jul 8, 2025
ClickBench: Total hot run time: 29.15 s |
doris-robot
commented
Jul 8, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
liaoxin01force-pushed
the
pick_52902_to_origin_branch-3.1
branch
from
July 8, 2025 13:05
809b77d to
d98d6fbCompareliaoxin01
commented
Jul 8, 2025
ContributorAuthor
run buildall |
liaoxin01force-pushed
the
pick_52902_to_origin_branch-3.1
branch
from
July 8, 2025 13:14
d98d6fb to
73ece7aCompareliaoxin01
commented
Jul 8, 2025
ContributorAuthor
run buildall |
… leaks in MemTable (apache#52902) Issue Number: close #xxx Related PR: #xxx Problem Summary: Direct leak of 193504 byte(s) in 6047 object(s) allocated from: (/mnt/ssd01/pipline/OpenSourceDoris/clusterEnv/P0/Cluster0/be/lib/doris_be+0x2a0015fd) const*, std::vector<unsigned int, doris::CustomStdAllocator<unsigned int, doris::Allocator<false, false, false, doris::DefaultMemoryAllocator> > > const&) /root/doris/be/src/olap/memtable.cpp:243:38 doris::MemTableWriter::write(doris::vectorized::Block const*, std::vector<unsigned int, doris::CustomStdAllocator<unsigned int, doris::Allocator<false, false, false, doris::DefaultMemoryAllocator> > > const&) /root/doris/be/src/olap/memtable_writer.cpp:107:27 doris::DeltaWriterV2::write(doris::vectorized::Block const*, std::vector<unsigned int, doris::CustomStdAllocator<unsigned int, doris::Allocator<false, false, false, doris::DefaultMemoryAllocator> > > const&) /root/doris/be/src/olap/delta_writer_v2.cpp:164:30 doris::vectorized::VTabletWriterV2::_write_memtable(std::shared_ptr<doris::vectorized::Block>, long, doris::vectorized::Rows const&) /root/doris/be/src/vec/sink/writer/vtablet_writer_v2.cpp:552:24 doris::vectorized::VTabletWriterV2::write(doris::RuntimeState*, doris::vectorized::Block&) /root/doris/be/src/vec/sink/writer/vtablet_writer_v2.cpp:486:9 doris::vectorized::AsyncResultWriter::process_block(doris::RuntimeState*, doris::RuntimeProfile*) /root/doris/be/src/vec/sink/writer/async_result_writer.cpp:169:23 doris::vectorized::AsyncResultWriter::start_writer(doris::RuntimeState*, doris::RuntimeProfile*)::$_0::operator()() const /root/doris/be/src/vec/sink/writer/async_result_writer.cpp:103:5
liaoxin01force-pushed
the
pick_52902_to_origin_branch-3.1
branch
from
July 8, 2025 13:24
73ece7a to
ceb4621Compareliaoxin01
commented
Jul 8, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Jul 8, 2025
TPC-H: Total hot run time: 40145 ms |
doris-robot
commented
Jul 8, 2025
TPC-DS: Total hot run time: 189569 ms |
doris-robot
commented
Jul 8, 2025
ClickBench: Total hot run time: 31.01 s |
doris-robot
commented
Jul 8, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
morrySnow
approved these changes
Jul 9, 2025
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pick from:#52902