wjmmjr opened a new pull request, #16000:
URL: https://github.com/apache/dolphinscheduler/pull/16000

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are 
happy that you want to help us improve DolphinScheduler! -->
   
   ## Purpose of the pull request
   This pull request aims to address the issue of user confusion caused by k8s 
environment service restart or physical machine environment service migration
   
   ## Brief change log
   Add tenantId to ProcessInstance.java and TaskExecutionContext.java
   Add method "createUser(int userId, String userName)" and 
"createUserIfAbsent(int userId, String userName)"  and "createLinuxUser(int 
userId, String userName, String userGroup)" to OSUtils.java
   Modify method createTenant of TenantServiceImpl.java
   Modify method handleCommand of  ProcessServiceImpl.java,add code 
"processInstance.setTenantId"
   Modify method buildProcessInstanceRelatedInfo of  
TaskExecutionContextBuilder.java,add code "taskExecutionContext.setTenantId"
   Modify method getOrCreateTenant of TaskExecutionContextUtils.java, add user 
by tenantId
   
   ## Verify this pull request
   
   <!--*(Please pick either of the following options)*-->
   
   This pull request is code cleanup without any test coverage.
   
   


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

Reply via email to