Repository navigation
S3Queue: add SYSTEM DROP S3QUEUE FAILED FILES command - #121760
Closed
adityaksolves wants to merge 18 commits into
Closed
adityaksolves wants to merge 18 commits into
adityaksolves wants to merge 18 commits into
Conversation
Adds the failed_files_ttl_sec engine setting, which controls time-based expiry of terminal failed files in unordered mode. tracked_files_limit's description is also updated to document that it caps the failed-files set by count in both ordered and unordered mode, independently of the new setting. For tables created before this setting existed, the value is inherited from tracked_file_ttl_sec at attach time; this inheritance is a one-time fallback and is not kept in sync with later changes to tracked_file_ttl_sec.
…che reconciliation
…arker in waitForPathToBeProcessed
…ystem-drop-failed-files # Conflicts: # src/Interpreters/InterpreterSystemQuery.cpp # src/Interpreters/InterpreterSystemQuery.h
Contributor
Author
Contributor
Author
|
Closing this PR as superseded by replacement PR #125392. Both PRs represent Split 2 of Phase 1: adding the Please use #125392 for further review and testing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #121752
Related: #113784
Changelog category
New Feature
Changelog entry
S3Queue: add
SYSTEM DROP S3QUEUE FAILED FILEScommand to manually clean up terminal failed files from Keeper.Detailed Description
Scope clarification - Phase 1, Split PR 2 of 2
This PR is the second of two independent PRs created by splitting the original Phase 1 work in #113784, following reviewer @kssenii's feedback to make the changes easier to review.
failed_files_ttl_secsetting for S3Queue/AzureQueue in unordered mode.SYSTEM DROP S3QUEUE FAILED FILEScommand for on-demand cleanup of terminal failed-file entries.This PR depends on #121752 being merged first.
Both PRs are part of the original Phase 1 scope. The follow-up work discussed as Phase 2 in #113054, including pattern-based
LIKEfiltering and potential ordered-mode support, remains separate.Implementation details
Adds the
SYSTEM DROP S3QUEUE FAILED FILES [db.]tablesystem query:DROP_S3QUEUE_FAILED_FILESinASTSystemQuery.InterpreterSystemQuery.dropFailedFiles()interface inStorageObjectStorageQueueand its implementation inObjectStorageQueueMetadata.