nsivabalan opened a new pull request, #5255:
URL: https://github.com/apache/hudi/pull/5255

   ## What is the purpose of the pull request
   
   - We had 2 begin and 2 end transaction methods in transaction manager, where 
one of them did not take in the owner info. Cleaning those up and fixed all 
callers to send in the transaction onwer info. 
   - Also, if transaction was started by caller1, but if end transaction was 
called by caller2, we were letting the caller2 release the lock. So, fixed that 
to ensure only the owner who acquired the lock can end the transaction. 
   
   ## Brief change log
   
   - Cleaned up an extraneous begin and end method in transaction manager. 
   - Fixed ending of a transaction by a different caller than who acquired the 
lock. 
   
   ## Verify this pull request
   
   This change added tests and can be verified as follows:
   
   - Added a test to TestTransactionManager to verify the fix. 
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.
   


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