Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

storage/localstore: do not later batch in setSync if moveToGc is false #1909

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

janos
Copy link
Member

@janos janos commented Oct 25, 2019

This PR fixes the issue with localstore setSync altering batch when moveToGc is set to false. The batch set in this case is not complete in order to changed access time and gc size change. The result of such mistake is incorrect gc size tracking.

@nonsense This can be validated by running smoke tests and checking bzz_storageIndices rpc response.

@janos janos requested review from nonsense and acud October 25, 2019 15:05
@janos janos self-assigned this Oct 25, 2019
@janos janos merged commit ab8e73d into master Oct 28, 2019
@janos janos deleted the fix-localstore-set-sync branch October 28, 2019 10:45
@acud acud added this to the 0.5.3 milestone Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants