LiebingYu commented on code in PR #1940:
URL: https://github.com/apache/fluss/pull/1940#discussion_r2692693830


##########
fluss-server/src/main/java/org/apache/fluss/server/log/LogTablet.java:
##########
@@ -516,9 +522,15 @@ public void updateMinRetainOffset(long minRetainOffset) {
         }
     }
 
+    public void updateIsDataLakeEnabled(boolean isDataLakeEnabled) {
+        this.isDataLakeEnabled = isDataLakeEnabled;
+    }
+
     public void updateLakeTableSnapshotId(long snapshotId) {
         if (snapshotId > this.lakeTableSnapshotId) {
             this.lakeTableSnapshotId = snapshotId;
+            // it means the data lake is enabled if we have got the snapshot id
+            this.isDataLakeEnabled = true;

Review Comment:
   Yes, we will handle this in https://github.com/apache/fluss/issues/2375.



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