Skip to content

Comments

[fix](phmap) Make PHHashMap exception safety#19076

Closed
mrhhsg wants to merge 1 commit intoapache:masterfrom
mrhhsg:phmap_exception_safety
Closed

[fix](phmap) Make PHHashMap exception safety#19076
mrhhsg wants to merge 1 commit intoapache:masterfrom
mrhhsg:phmap_exception_safety

Conversation

@mrhhsg
Copy link
Member

@mrhhsg mrhhsg commented Apr 25, 2023

Proposed changes

It's better to erase the key when bad_alloc was thrown.

Problem summary

Describe your changes.

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...

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@mrhhsg
Copy link
Member Author

mrhhsg commented Apr 25, 2023

run buildall

@mrhhsg mrhhsg closed this May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant