Skip to content

[Fix](Nereids) Fix minidump connect context loading and concurrency bug#19578

Merged
morrySnow merged 2 commits intoapache:masterfrom
LiBinfeng-01:fix_minidump
May 17, 2023
Merged

[Fix](Nereids) Fix minidump connect context loading and concurrency bug#19578
morrySnow merged 2 commits intoapache:masterfrom
LiBinfeng-01:fix_minidump

Conversation

@LiBinfeng-01
Copy link
Contributor

Problem summary

There are two problems of mini dump:
1、minidump do not load connect context to ThreadInfo, so it can not be get easily
2、minidump write maps with not concurrent protection, so the map size with change when we iterating map iterator

Solution:
1、loading connect context to minidump threading
2、use immutable map copy a new map before we actually doing iteration

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@morrySnow
Copy link
Contributor

run buildall

morrySnow
morrySnow previously approved these changes May 12, 2023
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label May 12, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@LiBinfeng-01
Copy link
Contributor Author

run p0

@LiBinfeng-01
Copy link
Contributor Author

run buildall

@LiBinfeng-01
Copy link
Contributor Author

run buildall

@morrySnow morrySnow merged commit cc9d340 into apache:master May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/nereids reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants