Skip to content

fix: optimise and fix a few db indexes - #10906

Draft
calmh wants to merge 14 commits into
syncthing:mainfrom
calmh:idxopt
Draft

calmh wants to merge 14 commits into
syncthing:mainfrom
calmh:idxopt

Conversation

@calmh

@calmh calmh commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

TBD

bench

calmh added 2 commits October 3, 2026 23:05
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
@github-actions github-actions Bot added the bug A problem with current functionality, as opposed to missing functionality (enhancement) label Oct 3, 2026
calmh added 12 commits October 4, 2026 00:24
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
* upstream/main:
  fix: remove unnecessary delay in index transmission (syncthing#10908)
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
Signed-off-by: Jakob Borg <[email protected]>
jhf added a commit to jhf/syncthing that referenced this pull request Oct 15, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 15, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 15, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 16, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 17, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 17, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 17, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 18, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.
jhf added a commit to jhf/syncthing that referenced this pull request Oct 19, 2026
Symptom-indexed map of upstream syncthing/syncthing issues and PRs that
touch the fork's North Star workload, with per-item status, linked code
(branches/PRs/commits), and our disposition (adopted as patch/N, carried
via dependency pin, parked with reason, watching).

Built from two scout inventories (tmp/upstream-inventory-{issues,prs}.md,
raw gh output kept in tmp/) layered on the earlier fix sweep. Notable
findings folded in: upstream PR syncthing#10906 (calmh's own db-index pass) touches
the same schema file as our patch/17 and likely subsumes it; syncthing#10849 is
diagnostic tooling, not the syncthing#10869 scan fix; syncthing#10908 (index transmission
delay) verified already in our base by merge-base.

Refresh procedure is documented at the bottom of each file.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A problem with current functionality, as opposed to missing functionality (enhancement)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant