Skip to content
This repository has been 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 added this to Backlog in Swarm Core - Sprint planning via automation Oct 25, 2019
@acud acud moved this from Backlog to In progress in Swarm Core - Sprint planning Oct 28, 2019
@acud acud moved this from In progress to In review (includes Documentation) in Swarm Core - Sprint planning Oct 28, 2019
@janos janos merged commit ab8e73d into master Oct 28, 2019
Swarm Core - Sprint planning automation moved this from In review (includes Documentation) to Done 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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants