Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Upload functionality to upload TSDB data only. #786

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kushalShukla-web
Copy link
Contributor

@kushalShukla-web kushalShukla-web commented Nov 14, 2024

This PR modifies the upload functionality to only upload TSDB (Time Series Database) block directories

Releated to #760

  1. Upload Filter by TSDB Directory: The function now filters for directories that match the TSDB block directory naming convention using a regular expression (blockDirRegex) which is regexp.MustCompile(^[A-Z0-9]{16,}$), ensuring only valid TSDB blocks are uploaded. This improves reduces redundant uploads.

  2. Logging Improvements:

    Added logs to confirm the status of the bucket and provide clear messages for skipped items that do not match the TSDB naming pattern.
    Each successfully uploaded directory logs its path and bucket name, providing better insight into the upload process.

@kakkoyun
Copy link
Member

@kushalShukla-web It needs a rebase and conflict resolution.

@kushalShukla-web
Copy link
Contributor Author

kushalShukla-web commented Nov 26, 2024

I will rebase this .

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.

2 participants