-
Notifications
You must be signed in to change notification settings - Fork 452
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
Content appearing and disappearing when refreshing a channel #6395
Comments
Reproduced it locally. #6415 does not fix the problem completely, but greatly reduces the probability of triggering it. The problem is threefold:
As a result, after 10-30 refreshes we may connect to a peer serving an outdated (or even broken!) version of a channel. Or even get a timeout and show the local cache, which could contain duplicates and deleted folders, etc. There is no real way to fix it in Channels 2.0 architecture, but we can still alleviate the problem by adding better methods for selecting remote peers, for instance:
|
I have the impression that #6415 even makes it easier to reproduce. Anyway, in like 20 refreshes of one of the most popular channels in Tribler, I get random content in like 5 refreshes. |
I had to click it about 20-30 times to get to see the thing 🤷 . I guess it is highly dependent on network and PC performance. |
This is a result of remote hosts providing an older version of the channel through the remote preview system. Currently, the remote preview system does not filter remote preview sources by version. We are facing a dilemma here: if we add such filtering we may make reduce channel previews availability, because peers with older versions of a channel will not be considered as legitimate sources for channel preview. Currently, both A and B can be selected as the preview source. If we enable filtering of preview sources by channel version, only host B will be considered as a legitimate source. Should we do so? |
I noticed that when going to a channel in Tribler and refreshing it by clicking on the channel name in the breadcrumb navigator, sometimes content appears and disappears. While this is expected (since Tribler can discover new content), sometimes the amount of content is changing significantly. Note that it requires like 20+ or 30+ refreshes sometimes to trigger this behavior.
Below are two screenshots that were taken within the same channel. Refreshing it occasionally gives different content. Note that sometimes, item A in the first screenshot is not present in screenshot B, hinting that this might be a bug somewhere.
The text was updated successfully, but these errors were encountered: