JNSimba commented on code in PR #69129:
URL: https://github.com/apache/doris/pull/69129#discussion_r4281057420


##########
fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming/StreamingInsertJob.java:
##########
@@ -1761,7 +1778,9 @@ private void persistOffsetProviderIfNeed(
             return;
         }
 
-        logUpdateOperation();
+        logUpdateOperation(jdbcOffsetProvider.isTableSchemasDirty()
+                ? offsetProviderPersist : 
jdbcOffsetProvider.getPersistInfoWithoutTableSchemas());

Review Comment:
   If the table structure corresponding to the offset is restored and matches 
the newly discovered latest table structure, there will be no issues—including 
during a rolling upgrade or after a full rollback.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to