Commit graph

118 commits

Author SHA1 Message Date
Janos Guljas
f3380eac73 swarm/storage/localstore: improve subscriptions 2019-01-07 10:58:57 +01:00
Janos Guljas
c5dcae33e0 swarm/storage/localstore: fix TestSubscribePull to include MaxPO 2018-12-22 01:04:43 +01:00
Janos Guljas
95726d73d6 swarm/storage/localstore: lock item address in collectGarbage iterator 2018-12-21 15:16:42 +01:00
Janos Guljas
5edd22d075 swarm/storage/localstore: subscription of addresses instead chunks 2018-12-21 15:08:33 +01:00
Janos Guljas
534009fa49 swarm/storage/localstore: use storage.MaxPO in subscription tests 2018-12-21 11:55:59 +01:00
Janos Guljas
a74eae2330 swarm/storage/localsore: add parallel upload test 2018-12-21 11:29:37 +01:00
Janos Guljas
38bdf7f6b8 swarm/storage/localstore: add more subscriptions tests 2018-12-21 11:28:30 +01:00
Janos Guljas
5488a2b160 swarm/storage/localstore: implement feed subscriptions 2018-12-20 18:25:01 +01:00
Janos Guljas
67473be38a swarm/storage/localstore: use shed Iterate function 2018-12-19 22:37:10 +01:00
Janos Guljas
da9bab4a7d swarm/storage/localstore: fix a typo 2018-12-19 16:36:22 +01:00
Janos Guljas
c9f51302df swarm/storage/localstore: add MetricsPrefix option 2018-12-19 16:18:40 +01:00
Janos Guljas
cb8078e53d Merge branch 'master' into localstore 2018-12-19 15:34:37 +01:00
Janos Guljas
5ad0c8db68 swarm/storage/localstore: additional comment in writeGCSizeWorker 2018-12-19 15:29:15 +01:00
Janos Guljas
4fca004e86 swarm/storage/localstore: call writeGCSize on DB Close 2018-12-19 14:42:12 +01:00
Janos Guljas
b5a0fd285f swarm/storage/localstore: add triggerGarbageCollection function 2018-12-19 14:34:37 +01:00
Janos Guljas
cee4004dff swarm/storage/localstore: update writeGCSizeWorker comment 2018-12-19 14:27:43 +01:00
Janos Guljas
bca85efff9 swarm/storage/localstore: unexport modeSetRemove 2018-12-19 14:24:14 +01:00
Janos Guljas
80c269b50d swarm/storage/localstore: writeGCSize function with leveldb batch 2018-12-19 14:20:14 +01:00
Javier Peletier
fe86a707d8 swarm/storage: remove unused methods from Chunk interface (#18283) 2018-12-18 15:25:02 +01:00
Janos Guljas
560532303b swarm/storage/localstore: remove composite retrieval index 2018-12-18 15:24:41 +01:00
Janos Guljas
e17fec20f2 swarm/storage/localstore: persist gcSize 2018-12-18 15:05:47 +01:00
Anton Evangelatov
d322c9d550
swarm/storage/feed: remove unused code (#18324) 2018-12-17 11:32:55 +01:00
Janos Guljas
750268d8d0 swarm/shed, swarm/storage/localstore: rename IndexItem to Item 2018-12-17 10:29:02 +01:00
Janos Guljas
e6e29f55ee swarm/storage/localstore: add more garbage collection tests cases 2018-12-14 14:43:44 +01:00
Janos Guljas
ac9d153a1f swarm/storage/localstore: optimize collectGarbage 2018-12-14 13:06:53 +01:00
Janos Guljas
5732c38b1a swarm/storage/localstore: implement basic garbage collection 2018-12-13 15:52:44 +01:00
Janos Guljas
b6f5b7a23f swarm/storage/localstore: add semaphore for updateGC goroutine 2018-12-13 11:17:54 +01:00
Janos Guljas
e6bdda7078 swarm/storage/localstore: accessors redesign 2018-12-13 10:25:48 +01:00
Javier Peletier
4e6f53ac33 swarm/storage: simplify ChunkValidator interface (#18285) 2018-12-12 16:22:17 +01:00
Elad
bb724080ca cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation (#18274) 2018-12-11 09:21:58 +01:00
Janos Guljas
f2299f4703 swarm/storage/localstore: add retrieval tests benchmarks 2018-12-07 15:04:38 +01:00
Janos Guljas
d58e1ee5e0 swarm/storage/localstore: add BenchmarkNew 2018-12-07 14:05:25 +01:00
Janos Guljas
cf3ec30de4 swarm/storage/localstore: update comments 2018-12-07 09:45:48 +01:00
Janos Guljas
7b8510e977 swarm/storage/localhost: add DB.gcSize 2018-12-06 14:09:42 +01:00
Janos Guljas
6e8b2ad46e swarm/storage/localstore: add updateOnAccess function 2018-12-06 11:31:48 +01:00
Janos Guljas
58c7f11e46 swarm/storage/localstore: change how batches are written 2018-12-06 11:04:09 +01:00
Janos Guljas
e6a71961a5 swarm/storage/localstore: add TestDB_gcIndex 2018-12-06 10:25:00 +01:00
Janos Guljas
35376d8b2b swarm/storage/localstore: add TestDB_pullIndex 2018-12-05 12:06:04 +01:00
Janos Guljas
b782bfe464 swarm/storage/localstore: add mock store option for chunk data 2018-12-05 09:43:38 +01:00
Janos Guljas
96409ff600 swarm/storage/localstore: add TestModeRemoval 2018-12-04 15:01:45 +01:00
Janos Guljas
af1b137226 swarm/storage/localstore: add TestModeAccess 2018-12-04 14:30:04 +01:00
Janos Guljas
4d58a6f691 swarm/storage/localstore: add TestModeSynced 2018-12-04 12:26:44 +01:00
Janos Guljas
2d928bf134 swarm/storage/localstore: add TestModeRequest 2018-12-03 17:22:06 +01:00
Janos Guljas
58f3f86ef4 swarm/storage/localstore: add TestModeUpload 2018-12-03 16:58:34 +01:00
Janos Guljas
391faa7272 swarm/storage/localstore: fix test name 2018-12-03 13:42:10 +01:00
Janos Guljas
c7beb228e6 swarm/storage/localstore: add TestModeSyncing 2018-12-03 13:41:32 +01:00
Janos Guljas
cbb510bb3c swarm/storage/localstore: add WithRetrievalCompositeIndex 2018-12-03 12:31:24 +01:00
Janos Guljas
572f3cb960 swarm/storage/localstore: unexport modeAccess and modeRemoval 2018-12-03 10:54:16 +01:00
Janos Guljas
b1ded5a80b swarm/storage/localstore: decrement size counter on ModeRemoval update 2018-12-03 10:41:21 +01:00
Janos Guljas
9ec535a28a swarm/storage/localstore: fix typos and comments 2018-12-03 10:24:51 +01:00