Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/db: Checkpoint during schema updates (fixes #6422) #6424

Merged
merged 2 commits into from Mar 18, 2020

Conversation

imsodin
Copy link
Member

@imsodin imsodin commented Mar 18, 2020

Checkpoint transactions during database schema update to reduce the memory usage.

putErr = t.Put(dk, bs)

return putErr == nil
if iterErr = t.Put(dk, bs); iterErr == nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!=

@calmh calmh merged commit 00b2340 into syncthing:master Mar 18, 2020
@calmh calmh added this to the v1.4.1 milestone Mar 18, 2020
@imsodin imsodin deleted the db/transcp branch March 18, 2020 19:34
@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 Mar 19, 2021
@syncthing syncthing locked and limited conversation to collaborators Mar 19, 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.

None yet

3 participants