bobhan1 opened a new pull request, #23619:
URL: https://github.com/apache/doris/pull/23619

   ## Proposed changes
   
   For merge on write table, when loading data, it will call `lookup_row_key` 
to find if there exists a row with the same key as the inserted row. The return 
value of `lookup_row_key` can be one of 
`Status::NotFound`/`Status::AlreadyExist`/`Status::OK`.  Currently, call to 
`Status::NotFound`/`Status::AlreadyExist` will lead to printing stacktrace 
info. However, the number of call to `Status::NotFound`/`Status::AlreadyExist` 
can be up to **the number of rows inserted times the number segments of the 
tablet** in the worst case. So it may print lots of useless stacktrace info 
when loading data. So this PR add two new status code for this scenarios to 
eliminate printing these useless stacktrace info.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to