github-actions[bot] commented on code in PR #62816:
URL: https://github.com/apache/doris/pull/62816#discussion_r3144690047
##########
fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming/StreamingInsertJob.java:
##########
@@ -696,6 +697,7 @@ private void
updateCloudJobStatisticAndOffset(StreamingTaskTxnCommitAttachment a
this.jobStatistic.setLoadBytes(attachment.getLoadBytes());
this.jobStatistic.setFileNumber(attachment.getNumFiles());
this.jobStatistic.setFileSize(attachment.getFileBytes());
+ this.jobStatistic.setFilteredRows(attachment.getFilteredRows());
Review Comment:
This still leaves the cloud replay path incorrect. `replayOnCloudMode()`
reads `filteredRows` from the accumulated snapshot returned by
`getStreamingTaskCommitAttach()`, but the meta-service code that writes that
snapshot only accumulates `scanned_rows/load_bytes/num_files/file_bytes` and
the offset-reset path only preserves those same fields
(`cloud/src/meta-service/meta_service_txn.cpp`, around the `new_job_info.set_*`
blocks in the streaming-job commit/update and reset-offset paths). So after an
FE restart, or after resetting the streaming-job offset in cloud mode, the
stored snapshot still reloads `filteredRows` as `0`.
Please update the cloud snapshot write/preserve logic and add a
cloud/meta-service assertion for `filtered_rows`; otherwise the PR
description's "cloud meta-service round-trip" claim is still false.
--
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]