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
Usage problems #626
Comments
A data revert makes me think this could be be related to #623 |
It's not good, but I think we know what's going on. @joehand in beaker I was able to fix it by only prioritizing the most recent version of content blocks, instead of prioritizing the whole content feed. Have yall tried that yet? |
Thanks for the quick reply, as you say it's related to #623, if look into hola.txt with nano I get those weird chars you mentioned: |
This should be fixed in version |
Did some tests with version 12.0.1:
Also there are some issues when it comes to looking for connections once the source has been sharing for more than 2 minutes aprox and the remote was offline... when you try to reconnect it takes a loong time (should I make a new issue for this?) I'll be glad to help...where could I start? |
Hmm. So if you run How did you install dat? One of the bug fixes was in hyperdrive, a dependency so we need to make sure that was updated.
Ya, can you make a new issue for that one? If you add in the steps to reproduce that'd be great (ie. what you're running on the download side) and how long it takes to reconnect. |
I wonder if mafintosh/discovery-swarm#6 is related to the connection issues. |
Exactly. I updated both on local and remote with Then using nvm I changed on both machines to node v6.9.1 and did
Will do :) |
You might also try uninstall -g before an install. I have no idea what
npm's rules for updating package deps are, but that flow guarantees you get
latest on all packages
…On Tue, Feb 7, 2017 at 5:12 PM, jaime echegaray zipper < ***@***.***> wrote:
Hmm. So if you run dat sync on the download directory it works but dat
pull doesn't work?
Exactly. I updated both on local and remote with npm install -g dat
running on both machines node v4.2.6
Then using nvm I changed on both machines to node v6.9.1 and did npm
install -g dat again and the issue persists.
Ya, can you make a new issue for that one? If you add in the steps to
reproduce that'd be great (ie. what you're running on the download side)
and how long it takes to reconnect.
Will do :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#626 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABNhU7lLcBF6ywJRadFQXegIctDxmaH6ks5raPpTgaJpZM4L50GT>
.
|
Ok. A few things to try:
There are very few differences between
(can't reproduce this bug anymore so can't test those locally, sorry) |
update:
The only hint I'm getting is that after running |
Ok, at least it is consistent. Thanks for going through your steps. Just to make sure I understand to try to reproduce, you did:
After the update, if you do a fresh |
Yes, the content of hello.txt is
Yes, download successfull
On another bash tab I executed It did show an updated file, the original was 5 B
After pulling or cloning again the
And as you see it says download finished and a file size of 11 B (which is the file size of the modified file, the original was only 5 B), but in both cases the file at the download folder is not updated. |
Sweet, thank you so much for the great reporting and patience! It seems we can assume this is a content write/replication issue (since the metadata seems to be replicating fine) and that it happens regardless of what happened previously on the download side. We'll let you know when we find something or have another release to test. Thanks! |
glad to help, I'll keep watching and testing whenever a new version is released.. |
(getting a bit closer) We released hyperdrive 7.14.2 which should solve one bug related to this. Still chasing down a second one. |
Okay @jaime-ez, I I think we figured this one out. See if you still experience this after reinstalling Dat (there are new hypercore + dat-node modules). Thanks! |
Hi @joehand I did the exact same test and the problem persists :( |
Apologies! We had a versioning confusion on hypercore. I will check today with a npm install (was using github copies which were on the right versions). |
Hi @joehand, I've done the same tests again and its working! However, I added a couple more steps and there are still some issues. Same scenario as before: 2 machines, one running
Note: all the file changes were done adding or deleting strings ath the end of the file Cheers |
Sweet! Thanks for sticking with us through these replication bugs.
Right now, once a file is downloaded dat marks it as downloaded and will never update it again until there is an update at the source. We weren't really sure how to handle this situation but we should definitely provide some way to get back in sync, similar to a We will be changing how metadata is stored soon (in files instead of a database) that will make it easier to address this. In the meantime, you can delete the database (in
This will reset the metadata, index the destination directory, and download anything missing. |
Hi, I'm using dat cli v12.0.0 and node v4.2.6 on a local ubuntu machine and a remote debian server. I executed:
dat share
command running on the local machine, on another bash tab I executed:I can't figure out the problem...any help would be much appreciated, thanks!
The text was updated successfully, but these errors were encountered: