Skip to content

Conversation

@yiguolei
Copy link
Contributor

#40912

  1. Add memtype to memtable, and save a weak ptr vector in memtable writer, so that we could get different memory usage by traverse the vector.
  2. Using scoped memory usage to compute the mem usage of a memtable.
  3. CHECK if the tracker is 0 when the memtable flush success.

Proposed changes

Issue Number: close #xxx

…40912)

1. Add memtype to memtable, and save a weak ptr vector in memtable
writer, so that we could get different memory usage by traverse the
vector.
2. Using scoped memory usage to compute the mem usage of a memtable.
3. CHECK if the tracker is 0 when the memtable flush success.

---------

Co-authored-by: yiguolei <yiguolei@gmail.com>
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@yiguolei
Copy link
Contributor Author

run buildall

yiguolei and others added 2 commits October 15, 2024 14:54
…d segment failed (apache#41608)

## Proposed changes

1. If the segment load failed, it is not recoverable, should remove it
from segment cache and the query will create new segment again.
2. Could not depend on remove segment from cache during load index
failed, because the call once may throw exception and the error handle
logic is not reached.

---------

Co-authored-by: yiguolei <yiguolei@gmail.com>
…he#41685)

## Proposed changes

Issue Number: close #xxx
introduced by apache#41608

<!--Describe your changes.-->

Co-authored-by: yiguolei <yiguolei@gmail.com>
@yiguolei yiguolei closed this Oct 19, 2024
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