Repository navigation
lib/db: Be more lenient during migration (fixes #6397) - #6398
Merged
Merged
Conversation
AudriusButkevicius
approved these changes
Mar 6, 2020
imsodin
approved these changes
Mar 6, 2020
imsodin
left a comment
Member
There was a problem hiding this comment.
Confirmed to fix the issue by the reporter - ready to undraft, merge and ship :)
calmh
marked this pull request as ready for review
March 6, 2020 19:50
calmh
added a commit
that referenced
this pull request
Mar 6, 2020
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Mar 7, 2020
* master: (64 commits) lib/db: Be more lenient during migration (fixes syncthing#6397) (syncthing#6398) lib/db: Be more lenient during migration (fixes syncthing#6397) (syncthing#6398) cmd/ursrv: Analytics for Synology dist build: Build image should use Go 1.13 for now gui, lib/api: Remove CPU & RAM measurements (fixes syncthing#6249) (syncthing#6393) gui, man, authors: Update docs, translations, and contributors all: Tweak error creation (syncthing#6391) authors: Cleanup on request build: We can now use Go 1.13 lib/db: Prevent GC concurrently with migration (fixes syncthing#6389) (syncthing#6390) lib/db: Prevent GC concurrently with migration (fixes syncthing#6389) (syncthing#6390) build: Fix syso creation (fixes syncthing#6386) (syncthing#6387) build: Fix syso creation (fixes syncthing#6386) (syncthing#6387) lib/db: Correct metadata recalculation (fixes syncthing#6381) (syncthing#6382) lib/db: Correct metadata recalculation (fixes syncthing#6381) (syncthing#6382) lib/db: Remove reference to env var that never existed lib/db: Slightly improve indirection (ref syncthing#6372) (syncthing#6373) lib/db: Remove reference to env var that never existed lib/db: Slightly improve indirection (ref syncthing#6372) (syncthing#6373) build: Forked github.com/spaolacci/murmur3 for unsafe (ref syncthing#6371) ...
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Mar 7, 2020
* master: (64 commits) lib/db: Be more lenient during migration (fixes syncthing#6397) (syncthing#6398) lib/db: Be more lenient during migration (fixes syncthing#6397) (syncthing#6398) cmd/ursrv: Analytics for Synology dist build: Build image should use Go 1.13 for now gui, lib/api: Remove CPU & RAM measurements (fixes syncthing#6249) (syncthing#6393) gui, man, authors: Update docs, translations, and contributors all: Tweak error creation (syncthing#6391) authors: Cleanup on request build: We can now use Go 1.13 lib/db: Prevent GC concurrently with migration (fixes syncthing#6389) (syncthing#6390) lib/db: Prevent GC concurrently with migration (fixes syncthing#6389) (syncthing#6390) build: Fix syso creation (fixes syncthing#6386) (syncthing#6387) build: Fix syso creation (fixes syncthing#6386) (syncthing#6387) lib/db: Correct metadata recalculation (fixes syncthing#6381) (syncthing#6382) lib/db: Correct metadata recalculation (fixes syncthing#6381) (syncthing#6382) lib/db: Remove reference to env var that never existed lib/db: Slightly improve indirection (ref syncthing#6372) (syncthing#6373) lib/db: Remove reference to env var that never existed lib/db: Slightly improve indirection (ref syncthing#6372) (syncthing#6373) build: Forked github.com/spaolacci/murmur3 for unsafe (ref syncthing#6371) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
We might get a "not found" at one point in the migration, which should not abort the whole thing. We'll just retry it, and the same error during normal (non-migration) operations would simply result in the file being skipped, not a full database error.
Testing
None so far... Hoping for testing from issue reporter