Skip to content

Conversation

@stereosteve
Copy link
Contributor

Description

Hash migration broke some assumptions around retry logic for transcode jobs... which was causing a lot of crud spam with failures.

We were planning to get rid of all this "implicit work queue" stuff and move transcode inline to upload request... which I think makes more sense now.

This is a temporary fix to only do retry logic to StoreAll nodes so as to cut down on the crud spam.

Since only StoreAll nodes will attempt missed jobs, this should be fine.
@changeset-bot
Copy link

changeset-bot bot commented Sep 4, 2024

⚠️ No Changeset found

Latest commit: c484d2e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@stereosteve stereosteve changed the title Mediorum transcode fixes [QA-1512] Mediorum transcode fixes Sep 4, 2024
wasReplicatedThisWeek := attrs.CreateTime.After(time.Now().Add(-24 * 7 * time.Hour))

if !isPlaced && !ss.Config.StoreAll && tracker.CleanupMode && alreadyHave && myRank > ss.Config.ReplicationFactor+2 && !wasReplicatedThisWeek {
if !isPlaced && !ss.Config.StoreAll && tracker.CleanupMode && alreadyHave && myRank > ss.Config.ReplicationFactor*3 && !wasReplicatedThisWeek {
Copy link
Member

Choose a reason for hiding this comment

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

*3 again? are we worried this is too much commitment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a commit to make the threshold dynamic based on free disk space. So nodes with larger disks can accommodate files that can't be placed on smaller nodes. Just guessed at numbers for now based on looking at healthz.

@stereosteve stereosteve enabled auto-merge (squash) September 4, 2024 15:57
@stereosteve stereosteve disabled auto-merge September 4, 2024 16:14
@stereosteve stereosteve merged commit 355c7a9 into main Sep 4, 2024
@stereosteve stereosteve deleted the mediorum-transcode-fixes branch September 4, 2024 16:18
stereosteve added a commit that referenced this pull request Sep 4, 2024
schottra added a commit that referenced this pull request Sep 4, 2024
…ient-v1-feed

* origin/main: (53 commits)
  Show content title in chat blast item (#9627)
  Revert change to create-audius-app until new SDK version is published (#9632)
  [C-4752] Reduce border width for small Avatar (#9612)
  [QA-1512] Mediorum transcode fixes (#9631)
  [C-4952] Mobile comment overflow action confirmations (#9622)
  Audius Protocol v0.6.183
  [PAY-3408][PAY-3409][PAY-3408][PAY-3405][PAY-3413] Update Sales/Purchase Modal (#9624)
  [PAY-3404] Fix floor() for negative numbers that are already floored (#9623)
  Fix purchasing without network split (#9629)
  Pin Rust version for 'prod' DN dockerfile (#9607)
  [PAY-3410][PAY-3406] Update Sales Table help link and "Value" => "Total" (#9625)
  [PAY-3412] Include network splits in CSV downloads of sales/purchases (#9626)
  [QA-1439] Don't block gated tracks from being remixes (#9620)
  [PAY-3389] Fix duplicate blast messages in 1:1 threads (#9621)
  [C-5008] Add single and multi lineHeight options to Text (#9610)
  Blast getMessages supports all audiences (#9618)
  [PAY-3378] Disable blast audiences radios with no recipients (#9619)
  Only add blasts to store for sender (#9617)
  [PAY-3387] Chat ws respects chat_member.is_hidden (#9616)
  Remove ToUserId in blast ws fan-out (#9615)
  ...
audius-infra pushed a commit that referenced this pull request Sep 5, 2024
[0902048] Add stems api for v1 (#9513) Raymond Jacobson
[dda5524] Add createUserBankIfNeeded call to trending rewards bug (#9634) Raymond Jacobson
[b80df23] Revert "Cycle solana RPC connections better (#9147)" (#9635) Raymond Jacobson
[adf2207] [PAY-3370] Always use encoded content IDs in chats (#9636) Reed
[53e78ae] getChatMessages respects audience content type and id (#9628) Reed
[355c7a9] [QA-1512] Mediorum transcode fixes (#9631) Steve Perkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants