Commit graph

286 commits

Author SHA1 Message Date
Alex Grintsvayg 661c20a21d
make db-backed store more generic (not specific to s3) 2019-10-03 16:58:17 -04:00
Alex Grintsvayg 69f1e0f4ca
make MemoryStore consistent with the New...() pattern 2019-10-03 16:49:28 -04:00
Alex Grintsvayg 2ca83139df
use stream.Blob for BlobStore interface 2019-10-03 16:34:57 -04:00
Alex Grintsvayg 0af6d65d40
rename FileStore -> DiskStore 2019-10-03 16:24:59 -04:00
Alex Grintsvayg a8230db802
rewrite getstream command using caching store 2019-10-03 16:13:08 -04:00
Alex Grintsvayg 24f885e268
store blobs on disk in prefix-based subdirectories to avoid too many files in one dir 2019-10-03 16:12:49 -04:00
Alex Grintsvayg acb9840871
add peer blob store, which gets blobs from a peer 2019-10-03 16:10:29 -04:00
Alex Grintsvayg a745bafc58
go 1.13 2019-10-03 14:12:42 -04:00
Alex Grintsvayg bf9e90f14c
comment out github releasing for clarity 2019-10-03 14:02:00 -04:00
Alex Grintsvayg a98d1e1217
tidy go.mod 2019-10-03 13:41:02 -04:00
Alex Grintsvayg 36ee7e8d1f
add caching blob store 2019-10-03 13:36:35 -04:00
Alex Grintsvayg c1e8e7481f
fix getstream command to write as it downloads (or else it runs out of memory) 2019-09-27 14:38:49 -04:00
Alex Grintsvayg cb669eb1a7
add claim decode command 2019-09-11 14:35:25 -04:00
Alex Grintsvayg 08df3b167c
add getstream command to download a stream from a peer 2019-09-11 13:28:58 -04:00
Alex Grintsvayg 1a6b862c96
error on invalid blob hash length 2019-09-10 17:18:44 -04:00
Niko Storni ce3d4403db update lbry.go dependency 2019-08-28 15:16:02 +02:00
Niko Storni 949ea2f2d8 Merge branch 'public-lib' 2019-08-28 15:07:52 +02:00
Niko Storni 390d2b1eec export fields 2019-08-28 15:07:14 +02:00
Niko Storni 557c595e90 make summary available externally 2019-08-28 15:07:14 +02:00
Niko Storni 7d8772ed63 go mod tidy 2019-08-28 15:02:19 +02:00
Niko Storni 80f3b3437a re-enable reflector on new db 2019-08-20 01:26:23 +02:00
Niko Storni 68caed8a62 disable reflector for server replacement 2019-08-19 19:00:34 +02:00
Niko Storni 3823ee7a4e re-enable db 2019-08-08 19:49:32 +02:00
Niko Storni 5916ab4efd disable db temporarily 2019-08-08 18:42:46 +02:00
Niko Storni 227b362296 re-enable db 2019-08-07 21:32:00 +02:00
Niko Storni 8f280bf52f turn off db for instance resize 2019-08-07 20:39:27 +02:00
Alex Grintsvayg f30401d7a6
Revert "disable db for migration"
This reverts commit 83bb1791b4.
2019-07-30 18:25:08 -04:00
Alex Grintsvayg 83bb1791b4
disable db for migration 2019-07-30 18:10:01 -04:00
Alex Grintsvayg 3e006f1571
Revert "make new changes backwards-compatible while we migrate"
This reverts commit 594a45a271.
2019-07-30 18:03:56 -04:00
Alex Grintsvayg 2497f354bd
update api domain 2019-07-30 18:02:32 -04:00
Alex Grintsvayg db83ebe434
update blocklist to new wallet servers 2019-07-30 17:07:01 -04:00
Niko Storni a2d51cee3d enable db 2019-07-10 20:59:52 +02:00
Alex Grintsvayg 47425c2c50
Merge branch 'db_restructure'
* db_restructure:
  make new changes backwards-compatible while we migrate
  use IDs instead of hashes for join table
2019-07-10 12:48:15 -04:00
Alex Grintsvayg 594a45a271
make new changes backwards-compatible while we migrate 2019-07-10 11:28:56 -04:00
Alex Grintsvayg fd39b09e95
use IDs instead of hashes for join table 2019-07-10 11:27:19 -04:00
Alex Grintsvayg fce8beea4d
dont try to connect to db when useDB is off 2019-07-10 09:39:21 -04:00
Niko Storni 96e0c2e2b2 temporarily turn off reflector 2019-07-10 15:22:00 +02:00
Niko bb5df9896a
one more try 2019-07-06 02:31:13 -04:00
Niko accd79c81f
turn off db again 2019-07-05 18:55:25 -04:00
Niko 32dae2704f
turn reflector back on 2019-07-05 17:21:04 -04:00
Alex Grintsvayg 2ed1e23228
fix error counter 2019-07-03 16:17:31 -04:00
Alex Grintsvayg d61f7c892f
off 2019-07-03 15:41:12 -04:00
Alex Grintsvayg 027409fe40
Merge branch 'uploader'
* uploader:
  separate uploader into reusable component
2019-07-03 13:41:56 -04:00
Alex Grintsvayg 38401bf8d6
separate uploader into reusable component 2019-07-03 13:39:37 -04:00
Alex Grintsvayg 825e699114
turn db back on 2019-07-03 13:02:39 -04:00
Alex Grintsvayg 6509c7dc52
turn off db 2019-07-02 09:33:15 -04:00
Alex Grintsvayg c088a65041
make it easy to turn the db on and off 2019-07-02 09:32:53 -04:00
Alex Grintsvayg c7643fb5da
check blocklist first, its cheaper 2019-07-02 09:21:26 -04:00
Alex Grintsvayg c3ab5dd2a5
log timed-out query 2019-06-27 15:34:12 -04:00
Alex Grintsvayg 2047fe6c05
maybe removing this transaction will improve the situation? 2019-06-27 15:30:38 -04:00