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

   ### Change Logs
   
   When multiple writers trigger table services, there is a chance that one of 
them could create requested in a different ordering compared to the actual 
timestamp. Linked jira has more details of the scenario w/ an illustration. 
This patch, ensure that before creating a requested entry in the timeline, 
there is no other instant greater than the current instant time.
   
   Major reason is, a writer could generate a new commit time in memory (say 
t10), and then take a long time to do some computation and eventually add the 
requested instant to timeline very late (say t100). In b/w these two time, 
there could be another concurrent writer choosing t25 as commit time and 
proceed. This might lead to unexpected behaviors as called out in the jira. 
   
   
   ### Impact
   
   _Describe any public API or user-facing feature change or any performance 
impact._
   
   ### Risk level (write none, low medium or high below)
   
   _If medium or high, explain what verification was done to mitigate the 
risks._
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, 
config, or user-facing change. If not, put "none"._
   
   - _The config description must be updated if new configs are added or the 
default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. 
Please create a Jira ticket, attach the
     ticket number here and follow the 
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to 
make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to