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

Fixed CreatePart and Clone failing to work under Content Streaming #150

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

Conversation

u-train
Copy link

@u-train u-train commented Dec 9, 2022

By using tags, we can wait for the parts to replicate in. Right now, F3X falters at creating/cloning parts with content streaming. This is because the code assumes that the instances will instantly replicate, which is no longer true with content streaming. Hence, the list of parts the client receives from the server becomes empty, despite being created on the server.

So, from the server, we give the client a tag to listen to for the newly made parts. Most times, it shouldn't need to wait for the parts to come. But, with enough parts being cloned, it may need to wait for several chunks. However, sometimes the parts will never stream in if far enough, so simply best to give up after a reasonable amount of time.

By using tags, we can wait for the parts to replicate in.
Right now, F3X falters at creating/cloning parts with content streaming.
This is because the code assumes that the instances will instantly
replicate, which is no longer true with content streaming. Hence, the
list of parts the client receives from the server becomes empty, despite
being created on the server.

So, from the server, we give the client a tag to listen to for the newly
made parts. Most times, it shouldn't need to wait for the parts to come.
But, with enough parts being cloned, it may need to wait for several
chunks. However, sometimes the parts will never stream in if far
enough, so simply best to give up after a reasonable amount of time.
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.

1 participant