Usage problems
See original GitHub issueHi, 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:
- On the local machine:
- Then on the remote machine:
- All good. Then, while keeping the
dat share
command running on the local machine, on another bash tab I executed:
- Then on the remote machine:
Problem…the file is not updated to the latest version.
- Back on the local machine:
Bigger problem, the source folder got reverted to the previous state!
I can’t figure out the problem…any help would be much appreciated, thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:23
Top Results From Across the Web
Most Common Usage Problems - English Creek
Most Common Usage Problems. 1) A / AN - The article “a” is used before consonant sounds, and the article “an” is used...
Read more >10 common usage problems - Quill
The passage in italics above contains 10 common usage errors. Can you find all 10? Below are the problem words and explanations. *...
Read more >100 Common English Usage Problems - CUHK CSE
Below, we have compiled a list of common English usage problems that can cause confusion in both writing and speaking. We also provide...
Read more >Common Usage Problems • Practice 1
Common Usage Problems • Practice 1. Common Usage Problems Some common usage problems are expressions that you should avoid in your speaking and...
Read more >15 common usage problems by Shawn McDonough - Prezi
13 Common Usage Problems. Along with the ability to revise sentences to vary length and structure, it's equally important to avoid common usage...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
git reset HEAD
.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
.dat
of the destination dir) and clone again:This will reset the metadata, index the destination directory, and download anything missing.
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
dat share
on the source folder, the other with a destination folder after runningdat clone
.When running
dat sync
at destination folder, if a make a change to the file at destination the file remains unaltered. That is the file at destination is no longer synced with the file at source. Is this how it is supposed to be?If I make a change to the file at destination folder and then run
dat pull
the file remains unchanged again…If I delete the file at the destination folder and then run
dat pull
the file is not retrieved:Note: all the file changes were done adding or deleting strings ath the end of the file
Cheers