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

create sharded dir in shuttle for shuttle contents #565

Merged
merged 10 commits into from
Nov 24, 2022

Conversation

en0ma
Copy link
Contributor

@en0ma en0ma commented Nov 23, 2022

This PR moves shuttle content aggregation to shuttle (its faster, cleaner, and more deterministic).

I tested the previous implementation where aggregation happens on primary, for shuttle contents, sharded dir requires bitswap so it takes time.

verification

I have tested this, it works as expected - super fast!

@en0ma en0ma changed the title Chore/generate sharded dir in shuttle for shuttle contents create sharded dir in shuttle for shuttle contents Nov 23, 2022
contentmgr/pinning.go Outdated Show resolved Hide resolved
contentmgr/pinning.go Outdated Show resolved Hide resolved
Copy link
Contributor

@alvin-reyes alvin-reyes left a comment

Choose a reason for hiding this comment

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

LGTM

@en0ma en0ma merged commit 7f8e3fd into dev Nov 24, 2022
@en0ma en0ma deleted the chore/generate-sharded-dir-in-shuttle-for-shuttle-contents branch November 24, 2022 12:08
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.

3 participants