lokeshj1703 commented on code in PR #13229:
URL: https://github.com/apache/hudi/pull/13229#discussion_r2083135164


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriterTableVersionSix.java:
##########
@@ -291,7 +291,7 @@ String createCleanInstantTime(String instantTime) {
 
   @Override
   String createRestoreInstantTime() {
-    return createRestoreTimestamp(writeClient.createNewInstantTime(false));
+    return 
createRestoreTimestamp(getWriteClient().createNewInstantTime(false));

Review Comment:
   Yes, there was a NPE which I vaguely remember. getWriteClient ensures that 
the write client is initialized if it is null.



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