Skip to content

Conversation

@kangkaisen
Copy link
Contributor

No description provided.

@kangkaisen kangkaisen changed the title Minot, fix segment v2 comment Minor, fix segment v2 comment Sep 9, 2019
Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imay imay merged commit 0f44ce9 into apache:master Sep 9, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
* sync when s3 file writer quits
* temporarily use wait group
* use raii to gc & make sure won't sync twice

Before this pr, there exists one occasion where the writer's task failed so the _complete() would immediately return. And it might result in s3 file writer calling dtor even though there might be some tasks queuing in threadpool and one coredump in the future. Also this pr use raii to control FileBuffer's memory reclamation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants