Alexey Kudinkin created HUDI-3519:
-------------------------------------

             Summary: Make sure every public Hudi Client Method invokes 
necessary prologue
                 Key: HUDI-3519
                 URL: https://issues.apache.org/jira/browse/HUDI-3519
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Alexey Kudinkin


Right now, only a handful of operations actually invoke the "prologue" method 
doing, for ex
 # Checks around whether the table needs to be upgraded
 # Bootstraps MDT (if necessary)

As well as some other minor book-keeping stuff. As part of 
[https://github.com/apache/hudi/pull/4739,] i had to address that and 
introduced universal method `initTable` that serves as such prologue.

However, while i've injected it into most major public methods of the Hudi 
Client's Base class, we need to carefully and holistically review all remaining 
exposed *public* methods and make sure that all _public-facing_ operations 
(insert, upsert, commit, delete, rollback, clean, etc) are invoking prologue 
properly.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to