vagetablechicken opened a new pull request #4737: URL: https://github.com/apache/incubator-doris/pull/4737
## Proposed changes We use max_version to find iter. And if iter==end(), it will return end()->second, cuz DCHECK won't effect in release mode. It'll cause a coredump, because the ->second is a RowsetSharedPtr. ## Types of changes - [x] Bugfix (non-breaking change which fixes an issue) ## Checklist - [x] I have create an issue on (Fix #4736 ), and have described the bug/feature there in detail - [x] Compiling and unit tests pass locally with my changes ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org