Files
syncthing/lib
Jakob BorgandGitHub 0416103f26 fix(cmd): make database migration more robust to write errors (#10278)
Two things:
- We could run into a write error, which would block the progress
forever without an error. This because the writer routine exited, while
the reader was just blocked on sending to it.
- After a failed migration, inserts could fail with unique index
constraint errors because we are reusing the sequence numbers from the
original database. Add a drop folder to the start of migration to handle
this.

Additionally, the drop folder will clear out broken database files due
to killed migrations.
2025-08-22 08:08:06 +02:00
..
2025-08-12 20:05:10 +02:00
2025-08-12 20:05:10 +02:00
2025-04-12 15:16:36 +02:00
2025-08-12 20:05:10 +02:00
2025-08-12 20:05:10 +02:00
2025-08-12 20:05:10 +02:00
2025-08-12 20:05:10 +02:00
2024-08-10 12:58:20 +01:00