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

[WIP] GC Quantiles #1352

Closed
wants to merge 14 commits into from
Closed

[WIP] GC Quantiles #1352

wants to merge 14 commits into from

Conversation

janos
Copy link
Member

@janos janos commented Apr 25, 2019

This is a very rough sketch about approach to implement garbage collection queues in localstore. Base concepts are taken from https://hackmd.io/t-OQFK3mTsGfrpLCqDrdlw#Synced-chunks.

closes #1228

nonsense and others added 8 commits April 10, 2019 16:50
Conflicts were in:
	swarm/api/http/test_server.go
	swarm/storage/ldbstore_test.go
from 26b50e3
* swarm/network: fix data races in TestInitialPeersMsg test

* swarm/network: add Kademlia.Saturation method with lock

* swarm/network: add Hive.Peer method to safely retrieve a bzz peer

* swarm/network: remove duplicate comment

* p2p/testing: prevent goroutine leak in ProtocolTester

* swarm/network: fix data race in newBzzBaseTesterWithAddrs

* swarm/network: fix goroutone leaks in testInitialPeersMsg

* swarm/network: raise number of peer check attempts in testInitialPeersMsg

* swarm/network: use Hive.Peer in Hive.PeerInfo function

* swarm/network: reduce the scope of mutex lock in newBzzBaseTesterWithAddrs
* swarm/shed: remove metrics fields from DB struct

* swarm/schunk: add String methods to modes

* swarm/storage/localstore: add metrics and traces

* swarm/chunk: unknown modes without spaces in String methods

* swarm/storage/localstore: remove bin number from pull subscription metrics

* swarm/storage/localstore: add resetting time metrics and code improvements
@nonsense nonsense force-pushed the swarm-rather-stable branch 5 times, most recently from ad91427 to 9b1543c Compare May 10, 2019 10:29
@nonsense nonsense changed the base branch from swarm-rather-stable to master July 8, 2019 08:18
@zelig zelig mentioned this pull request Jul 31, 2019
@zelig zelig added the on hold label Nov 4, 2019
@janos
Copy link
Member Author

janos commented Nov 4, 2019

I am closing this PR as it is obsolete. All relevant changes are pulled out to gc-quantiles-updated branch, for reference.

@janos janos closed this Nov 4, 2019
@janos janos deleted the gc-quantiles branch November 4, 2019 15:44
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.

GC insertion to implement in localstore
4 participants