924060929 commented on PR #17483:
URL: https://github.com/apache/doris/pull/17483#issuecomment-1484687448

   Thx for fix this bug, we also encounter this problem when meet JVM OOM 
killer:
   ```
   # java.lang.OutOfMemoryError: Java heap space
   # -XX:OnOutOfMemoryError="kill -9 %p"
   #   Executing /bin/sh -c "kill -9 62698"...
   ```
   
   @dataroaring 
   Maybe we should support kill/start fe/be in the regression testing framework 
like
   ```groovy
   suite ("rollback_bdb_log") {
     def stopInsert = new AtomicBoolean(false)
     thread {
       while (!stopInsert.get()) {
         for (int i = 0; i < 100000; ++i) {
           try_sql "insert into test_insert_table values($i)"
         }
       }
     }
   
     onFinished {
       stopInsert.set(true)
     }
   
     def followers = kill_followers()
     sleep(1000)
     def originMaster = kill_master()
   
     start_followers(followers, wait_follower_change_to_master = true)
     start_fe([originMaster], wait_fe_started = true)
   
     // ensure new fe can startup and read/write
     sql "select * from test_insert_table limit 10"
     sql "insert into test_insert_table values(1)"
   }
   ```
   


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