Syncthing 2.0 Launches With Major Database Overhaul
Syncthing 2.0 Launches With Major Database Overhaul

Syncthing 2.0 Launches With Major Database Overhaul

Syncthing 2.0 Launches With Major Database Overhaul
Syncthing 2.0 Launches With Major Database Overhaul
SQLite continues to be the "Do Nothing. Win" of databases
It's wild how it has the fastest read performance of any other sql backend, even postgres.
I remember using SQLite like 12 years ago as a backend for Minecraft mods, and even more recently as a backend for HomeAssistant and switching away to something else for performance…and now switching back. Kudos to them for all the work that went into that! Worst to first!
I love SQLite but is this still true? I thought DuckDB was on its way to supplanting SQLite is this area.
It is beautiful. I haven't even thought of using a database server for personal projects in years. SQLite all the way. It's so simple and performant (for my use cases).
Am I missing something? SQLite is great, but it isn't really comparable to most other SQL databases, unless you're talking about nosql alternatives?
Masterpiece software.
Easily one of the most integral and convenient pieces of software in my use. I've got six machines syncing up in various degrees: desktop, laptop, Android, ereader, media server, and laser controller. It along with Tailscale are among first things I install. I'm hoping version 2.0 is as stable as 1 has been. The only trouble I've ever had out of was when I was syncing something in my local cloud directory.
Nice, I like Syncthing too.
Sounds like it's fully compatible query devices running older version. Great.
Doens't look like Syncthing-Fork is on 2.0 yet. They have an RC but if you use it, you might want to be careful upgrading before they release.
Is 2.0 backward compatible with 1.x?
Protocol-wise? I don't know. But usually major version bumps indicate some kind of breaking change.
I relied on Syncthing for a few years until my laptop became so powerful that a desktop was no longer needed (I do pro-audio work in Logic with lots of plugins; but I'm also just a nerd power-user). This has me thinking about getting back into using it to sync a much smaller amount of data, such as my Bash profile and custom functions, as well as some custom binaries that I keep in ~/bin. But I'll wait until a few releases into the 2.x cycle before I install while others help find the rough edges.
Hooray for development of awesome tools. Hats off to all the devs involved.
It’s really weird reading your comment because it reads as if I wrote it.
What kind of audio stuff do you do?
There doesn't seem to be that many changes for the user, at least not for me. Hopefully the performance difference is noticeable.
Awesome
Can I ask about the change of not keeping record of deleted files after 6 months by default. Does that mean if I sync two directories constantly so that if syncthing sees one of them has a file deleted, it will delete the file on the other too, if I copy back that same file into the synced folder, after 6 months pass Syncthing would sync that file again? Or what else does this mean?
Currently I am just using this to have an easy transfer between two computers, I keep moving out files that have been transferred from both folders, so I would think this has no effect on how I use it?
I don't think your use will be effected. I believe the only thing is your database will be less bloated with deleted items that have never been removed previously.
If you add a file back after it's removed from the database, It should sync as usual.
(This is my interpretation of the change notes, i'm no experto, maybe a real experto can confirm this is true or not).
Good Point to start fresh? Mine ist totally fucked. Dont even know how i should start over :(
(Some syncthin-fork update or android update fucked the folder paths and trying to fix it while also adding a new folder somehow created some loops/crashes/conflicts)
For those using it on Android, a reminder that the older app is not maintained anymore and you might want to replace it with Catfriend1/syncthing-android.
But also - maybe wait for the app v2.0 to be released to upgrade the desktop client at the same time; I don't know if using v2.0 on the desktop would work with the v1.x app.
Oh wow, they already have a 2.0 prerelease build. That was fast!
I'm in no rush. 1.x has been doing its job without demanding any of my attention since I set it up a year or so ago. Setup was a bit complex, but it was definitely worth learning.
Waiting till Material 3 update to use it
Can I move from the older app to the fork while keeping all my configuration?
I just tried. Old app exports a directory, new one wants a zip. Zipped the dir and offered to new one. New one complained that some expected file was missing. Gave up and set it up again with it's new keys (phone only syncs one dir off my home server, not a big deal) and now it's going great.
I tried it, but it didn't work for me, so I had to reintroduce the device and share the directories again. But you don't have to transfer all the data again, it'll just do a full scan and transfer the diff as usual.
I could export and import with minimal issues around half a year ago after it was discontinued.
Based on what @eager_eagle@lemmy.world said maybe try installing an older version, importing, then updating.