fengyang2333 opened a new issue, #29502:
URL: https://github.com/apache/doris/issues/29502

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   doris-2.0.3-rc06-37d31a5
   
   ### What's Wrong?
   
   When manually migrating a new tablet without data, this interface 
/api/tablet_migration?goal={enum}&tablet_id={int}&schema_hash={int}&disk={string}
 is called, be restart after downtime, The exception log is as follows
   
   `*** Query id: 0-0 ***
   *** tablet id: 0 ***
   *** Aborted at 1704338064 (unix time) try "date -d @1704338064" if you are 
using GNU date ***
   *** Current BE git commitID: 37d31a5 ***
   *** SIGSEGV address not mapped to object (@0x12) received by PID 166667 (TID 
170601 OR 0x7f1abe5c3700) from PID 18; stack trace: ***
   [warn] Epoll ADD(1) on fd 411 failed. Old events were 0; read change was 1 
(add); write change was 0 (none); close change was 0 (none): Bad file descriptor
   [warn] timerfd_settime: Bad file descriptor
   [warn] epoll_wait: Invalid argument
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, 
siginfo_t*, void*) at /root/src/doris-2.0/be/src/common/signal_handler.h:417
    1# 0x00007F20F632B852 in 
/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/amd64/server/libjvm.so
    2# JVM_handle_linux_signal in 
/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/amd64/server/libjvm.so
    3# 0x00007F20F6328653 in 
/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/amd64/server/libjvm.so
    4# 0x00007F20FB4F50E0 in /lib/x86_64-linux-gnu/libc.so.6
    5# 
doris::TabletMigrationAction::_execute_tablet_migration(std::shared_ptr<doris::Tablet>,
 doris::DataDir*) at 
/root/src/doris-2.0/be/src/http/action/tablet_migration_action.cpp:220
    6# std::_Function_handler<void (), 
doris::TabletMigrationAction::handle(doris::HttpRequest*)::$_0>::_M_invoke(std::_Any_data
 const&) at 
/var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
    7# doris::ThreadPool::dispatch_thread() in 
/home/doris/doris/apache-doris-2.0.0-bin-x64/be/lib/doris_be
    8# doris::Thread::supervise_thread(void*) at 
/root/src/doris-2.0/be/src/util/thread.cpp:499
    9# start_thread in /lib/x86_64-linux-gnu/libpthread.so.0
   10# clone in /lib/x86_64-linux-gnu/libc.so.6`
   
   And I checked the file descriptors on this physical machine, and there are 
less than 100,000, and the doris user limit is set at 200,000
   
   request interface doc bellow:
   https://doris.apache.org/docs/admin-manual/http-actions/be/tablet-migration
   
   ### What You Expected?
   
   When I manually migrate empty tablets, I hope there will be no problem of be 
node downtime
   
   ### How to Reproduce?
   
   _No response_
   
   ### 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