Skip to content

wip bash scripts for identifying unreadable resource objects #5828

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

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

sblack-usu
Copy link
Contributor

Just for referencing the script to identify unreadable objects

Copy link

github-actions bot commented Mar 17, 2025

Test Results

    2 files  ±0      2 suites  ±0   1h 0m 19s ⏱️ + 2m 4s
1 420 tests +2  1 401 ✅ +2  19 💤 ±0  0 ❌ ±0 
1 532 runs  +2  1 510 ✅ +2  22 💤 ±0  0 ❌ ±0 

Results for commit 12796a5. ± Comparison against base commit 40542f5.

♻️ This comment has been updated with latest results.

file_name="maps/etp/etp00000.219"


if ! file_head=$(mc head -n 1 prod-minio/$bucket_name/$resource_id/data/contents/$file_name 2>/dev/null); then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mc head -n 1 for the win!
NICE -- I wouldn't have thought of that and we would be iterating files for years...

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