GoGoWen opened a new issue #6927:
URL: https://github.com/apache/incubator-doris/issues/6927


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   0.13
   
   ### What's Wrong?
   
   when doing schema change in doris,  we get following error in log:
   W1025 06:43:32.627729 507297 schema_change.cpp:667] fail to allocate memory.
   W1025 06:43:32.627842 507297 schema_change.cpp:1196] failed to sort row 
block.
   W1025 06:43:33.244524 507297 schema_change.cpp:1908] failed to process the 
version. version=0-43122
   W1025 06:43:33.244887 507297 schema_change.cpp:737] memory lost in 
RowBlockAllocator. memory_size=2146304
   W1025 06:43:33.244928 507297 schema_change.cpp:1607] failed to alter tablet. 
base_tablet=72071006.2116810390.d84fc8ad8b4c0502-6308c774f96e13b7, drop 
new_tablet=73592188.1607887789.3045c07c3fee2757-bdf82e275a2b8a8b
   W1025 06:43:33.249256 507297 engine_alter_tablet_task.cpp:43] failed to do 
alter task. res=-1602 base_tablet_id=72071006, base_schema_hash=2116810390, 
new_tablet_id=73592188, new_schema_hash=1607887789
   
   from the error log and the code 
   
   ### What You Expected?
   
   we expect to schema change succeed.
   
   ### How to Reproduce?
   
   to do schema change on a huge table  with size exceed 20T, and number of 
tablet >10000,  the schema change will often failed with fail to allocate 
memory and fail to allocate memory.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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