Skip to content

lib/db: Correct metadata recalculation (fixes #6381) - #6382

Merged
calmh merged 2 commits into
syncthing:masterfrom
calmh:recalcmeta
Feb 28, 2020
Merged

calmh merged 2 commits into
syncthing:masterfrom
calmh:recalcmeta

Conversation

@calmh

@calmh calmh commented Feb 28, 2020

Copy link
Copy Markdown
Member

If we decide to recalculate the metadata we shouldn't start from
whatever we loaded from the database, as that data is wrong. We should
start from a clean slate.

If we decide to recalculate the metadata we shouldn't start from
whatever we loaded from the database, as that data is wrong. We should
start from a clean slate.
@calmh
calmh merged commit 5de6f6d into syncthing:master Feb 28, 2020
calmh added a commit that referenced this pull request Feb 28, 2020
If we decide to recalculate the metadata we shouldn't start from
whatever we loaded from the database, as that data is wrong. We should
start from a clean slate.
@calmh calmh added this to the v1.4.0 milestone Feb 28, 2020
calmh added a commit that referenced this pull request Feb 28, 2020
* release:
  lib/db: Correct metadata recalculation (fixes #6381) (#6382)
@calmh
calmh deleted the recalcmeta branch March 6, 2020 10:20
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)
  ...
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Feb 28, 2021
@syncthing syncthing locked and limited conversation to collaborators Feb 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants