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


   **Describe the bug**
   upgrade DORIS-0.14.7-release to PALO-0.14.12-release
   
   **Screenshots**
   ```
   I0100 00:00:00.000000 35342 vlog_is_on.cc:192] RAW: Set VLOG level for "*" 
to 10
   *** Aborted at 1623398373 (unix time) try "date -d @1623398373" if you are 
using GNU date ***
   PC: @          0x1b7e2b7 doris::DataStreamSender::find_partition()
   *** SIGSEGV (@0x0) received by PID 35342 (TID 0x7f826e36c700) from PID 0; 
stack trace: ***
       @          0x1fb5a22 google::(anonymous 
namespace)::FailureSignalHandler()
       @     0x7f82cb7971d0 (unknown)
       @          0x1b7e2b7 doris::DataStreamSender::find_partition()
       @          0x1b7e7d9 doris::DataStreamSender::compute_range_part_code()
       @          0x1b81851 doris::DataStreamSender::send()
       @          0x1504c0d doris::PlanFragmentExecutor::open_internal()
       @          0x15092d5 doris::PlanFragmentExecutor::open()
       @          0x1480f7e doris::FragmentExecState::execute()
       @          0x1484526 doris::FragmentMgr::_exec_actual()
       @          0x148b809 std::_Function_handler<>::_M_invoke()
       @          0x15e6957 doris::ThreadPool::dispatch_thread()
       @          0x15e0e03 doris::Thread::supervise_thread()
       @     0x7f82cb78cf84 start_thread
       @     0x7f82cb57cddf __GI___clone
   ```
   
   # How to prevent it 
   ```
   set global enable_bucket_shuffle_join=false;
   ```
   upgrade BE
   upgrade FE
   
   ```
   set global enable_bucket_shuffle_join=true;
   ```
   
   it was becase thrift enumeration classes are not compatible in partiton type
   
   in 0.14.7
   It was 
   ```
   enum TPartitionType {
     UNPARTITIONED,
   
     // round-robin partition
     RANDOM,
   
     // unordered partition on a set of exprs
     // (partition bounds overlap)
     HASH_PARTITIONED,
   
     // ordered partition on a list of exprs
     // (partition bounds don't overlap)
     RANGE_PARTITIONED,
   
     // unordered partition on a set of exprs
     // (only use in bucket shuffle join)
     BUCKET_SHFFULE_HASH_PARTITIONED,
   }
   ```
   
   but in 0.14.12 
   it was 
   ```
   enum TPartitionType {
     UNPARTITIONED,
   
     // round-robin partition
     RANDOM,
   
     // unordered partition on a set of exprs
     // (partition bounds overlap)
     HASH_PARTITIONED,
   
     // ordered partition on a list of exprs
     // (partition bounds don't overlap)
     RANGE_PARTITIONED,
   
     // partition on a list of exprs
     LIST_PARTITIONED,
   
     // unordered partition on a set of exprs
     // (only use in bucket shuffle join)
     BUCKET_SHFFULE_HASH_PARTITIONED
   
   ```
   
   
   So, if we only upgrade BE and have a bucket shuffle join query, BE will 
think it was a LIST_PARTITIONED


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

Reply via email to