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

   ## Proposed changes
   
   At present, the version of separation of storage and computation version and 
the version of computational storage cannot be converted to each other. But if 
the user insists on mixing the two, there is no way to avoid it at the code 
level. The following are possible scenarios that may occur:
   
   Case | The node has been in Cloud cluster before | The node has been in 
Local cluster before | The node never been in any cluster 
   -- | -- | -- | --
   add BE to local cluster | Add successfully, but error `invalid cluster id. 
ignore. ` will be occurred.  No negative impact on the original two clusters. | 
Add successfully, but error `invalid cluster id. ignore. ` will be occurred.  
No negative impact on the original two clusters. | If cloud configuration is 
not added, it can work normally<br />If cloud configuration has been added, it 
will resulting in the inability to start normally 
   add FE to local cluster | Add successfully, but error `Socket is closed by 
peer.  ` will be occurred.  No negative impact on the original two clusters. | 
Add successfully, but error `Socket is closed by peer.  ` will be occurred.  No 
negative impact on the original two clusters. | If cloud configuration is not 
added, it can work normally<br />If cloud configuration has been added, it will 
resulting in the inability to start normally 
   add BE to cloud cluster | Add successfully, but error `invalid cluster id. 
ignore. ` will be occurred.  No negative impact on the original two clusters. | 
Add successfully, but error `invalid cluster id. ignore. ` will be occurred.  
No negative impact on the original two clusters. | If cloud configuration is 
not added, BE can run successfully, but error will occur when execute 
inserting.<br />If cloud configuration has been added, it can work normally 
   add FE to cloud cluster | Add successfully, but error `Socket is closed by 
peer.  ` will be occurred.  No negative impact on the original two clusters. | 
Add successfully, but error `Socket is closed by peer.  ` will be occurred.  No 
negative impact on the original two clusters. | If cloud configuration is not 
added, FE will be hang and error `Unknown meta module: cloudWarmUpJob.`<br />If 
cloud configuration has been added, it can work normally 
   
   ----
   
   | Case                                          |                            
                                  |
   | --------------------------------------------- | 
------------------------------------------------------------ |
   | BE in Local cluster add cloud config items    | Hang up                    
                                  |
   | FE in Local cluster add cloud config items    | Hang up                    
                                  |
   | BE in Cloud cluster remove cloud config items | run successfully, but 
error occur when do querying or inserting |
   | FE in Cloud cluster remove cloud config items | service down               
                                  |
   
   In this PR, I will check Doris' deployment mode. If the deployment mode is 
modified later, the service will be down and a clear error message will be 
given.
   
   


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