Skip to content

fix(rest): preserve scan splits and honor polling deadlines - #1059

Open
zhjwpku wants to merge 1 commit into
apache:mainfrom
zhjwpku:fix/rest-scan-ranges-and-poll-timeout
Open

zhjwpku wants to merge 1 commit into
apache:mainfrom
zhjwpku:fix/rest-scan-ranges-and-poll-timeout

Conversation

@zhjwpku

@zhjwpku zhjwpku commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Keep byte ranges when replacing residual filters in REST-planned scan tasks. Bound polling backoff by the remaining timeout and check the waiting budget before issuing another poll. Apply the response-side timeout check only while the plan is still submitted: preserve completed tasks, server failures, and cancellation handling even when an in-flight poll crosses the waiting budget.

Cover normal and incremental scans across direct, polled, and paginated task responses, including missing and ignored residual filters and terminal responses received after the waiting budget.

Keep byte ranges when replacing residual filters in REST-planned scan tasks. Bound polling backoff by the remaining timeout and check the budget before issuing another poll.

Apply the response-side timeout check only while the plan is still submitted. Preserve completed tasks and server failures, and release cleanup for cancelled plans, even when the in-flight poll crosses the waiting budget.

Cover normal and incremental scans across direct, polled, and paginated task responses, including split residual replacement and all polling statuses after the timeout.
@zhjwpku
zhjwpku force-pushed the fix/rest-scan-ranges-and-poll-timeout branch from 1276ab6 to 1db3214 Compare October 25, 2026 07:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant