Commit graph

272 commits

Author SHA1 Message Date
Jack Robison
04d747ff99 failover support for elastic-sync-notifier and elasticsearch
deprecates herald options `elastic_host`, `elastic_port`, `elastic_notifier_host`, and `elastic_notifier_port` in favor of the single new `elastic_services` option
2022-11-09 22:06:24 -05:00
Jack Robison
4586b344ce move search_index object to HubServerService 2022-11-09 22:06:24 -05:00
Jonathan Moody
9b17822229 Address feedback. Broaden logging to more types of Exception. 2022-09-28 11:04:28 -04:00
Jonathan Moody
0f33f2bfef Retry on EADDRINUSE. 2022-09-28 11:04:28 -04:00
Jonathan Moody
bc4e3aa7fb Get addr status after subscribing to fix race. 2022-09-26 11:30:09 -04:00
Jack Robison
e60bb35ebd fix https://github.com/lbryio/hub/issues/61 2022-09-20 14:13:06 -04:00
Jack Robison
024aceda53 feedback 2022-09-14 12:28:09 -04:00
Jack Robison
6155700a68 use session TaskGroup for notification tasks 2022-09-14 12:28:09 -04:00
Jack Robison
9b3618f73e feedback 2022-09-13 13:46:15 -04:00
Jack Robison
911f483ce3 multi_put claim_short_id 2022-09-13 13:46:15 -04:00
Jack Robison
09e1aba567 use effective amount index for faster future amount calculations 2022-09-13 13:46:15 -04:00
Jack Robison
66c63f0511 fix effective amount index for supports for non existent claims 2022-09-13 13:46:15 -04:00
Jack Robison
115fd217e8 fix trying to insert an effective amount for a new claim abandoned this block 2022-09-13 13:46:15 -04:00
Jack Robison
27520c835e use effective_amount index in scribe for faster takeover calculations 2022-09-13 13:46:15 -04:00
Jack Robison
c686187e35 add migrators to build new indexes 2022-09-13 13:46:15 -04:00
Jack Robison
ee02a80a98 cleanup 2022-09-13 13:46:15 -04:00
Jack Robison
bb6166c62d expose protocol class for tests to override 2022-09-13 13:46:15 -04:00
Jack Robison
08f25a7c50 effective amount index
fixes https://github.com/lbryio/hub/issues/64
2022-09-13 13:46:15 -04:00
Jack Robison
292ad2b9b6 rename effective_amount prefix -> bid_order 2022-09-13 13:46:15 -04:00
Jack Robison
2627f02a55 add reposted_count index
fixes https://github.com/lbryio/hub/issues/63
2022-09-13 13:46:15 -04:00
Jonathan Moody
18e0571e81 Updates for review comments. Implement timeout counter
bump in different way.
2022-09-12 14:35:38 -04:00
Jonathan Moody
807e6151f2 Revert "Report API-level search timeouts in interrupt_count_metric."
This reverts commit 28c711efad.
2022-09-12 14:35:38 -04:00
Jonathan Moody
8a1f0f7f33 Report API-level search timeouts in interrupt_count_metric. 2022-09-12 14:35:38 -04:00
Jonathan Moody
3cf620ed8e Specify API-level search timeout to reduce hard timeout errors. 2022-09-12 14:35:38 -04:00
Jonathan Moody
75d53c3c6f Treat RPC response=None as a WarmingUpError. 2022-09-07 11:01:20 -04:00
Jack Robison
59043a9add
fix https://github.com/lbryio/hub/issues/89 2022-08-30 11:30:18 -04:00
Jack Robison
f7eca425eb
fix cache 2022-08-27 10:12:35 -04:00
Jack Robison
84b978278e
fix https://github.com/lbryio/hub/issues/87 2022-08-27 09:51:04 -04:00
Jack Robison
579f95f9fc
set maxlen 2022-08-26 11:38:56 -04:00
Jack Robison
99e1006cb5 add largest_address_history_cache_size setting, defaulting to 256 2022-08-26 11:05:57 -04:00
Jack Robison
4958097b66 fix attribute name 2022-08-26 11:05:57 -04:00
Jack Robison
cd9b91e1d9 use LargestValueCache for caching the largest needed full address histories 2022-08-26 11:05:57 -04:00
Jonathan Moody
fc38bda03c Strengthen --daemon_url checks using yarl.URL (what aiohttp uses). 2022-08-24 10:17:07 -04:00
Jack Robison
c53d2b6f5a increase the default history_tx_cache_size 2022-08-18 18:32:36 -04:00
Jack Robison
570bda9c8b remove redundant hashX_history_cache
-remove redundant cache that used a lot of memory
2022-08-18 18:32:36 -04:00
Jack Robison
34c5ab2e56 include blocked/filtered in the error message 2022-08-17 10:58:45 -04:00
Jack Robison
4bc2bf79eb simplify applying filtering/blocking 2022-08-17 10:58:45 -04:00
Jack Robison
db3294e6e0 include reason from the repost description in blocking/filtering errors 2022-08-17 10:58:45 -04:00
Jack Robison
93850d72eb
Update README.md 2022-08-15 14:59:13 -04:00
Jack Robison
c6cc3cbd26
fix https://github.com/lbryio/hub/issues/68 2022-08-09 15:42:57 -04:00
Jonathan Moody
23599ee1b2 Update tests to account for multi_get feature and new DBStatePrefixRow fields. 2022-08-09 14:17:54 -04:00
Jack Robison
42584ca60a
Revert "add version file"
This reverts commit d57fc7eab9.
2022-08-09 14:17:34 -04:00
Jeffrey Picard
d57fc7eab9 add version file 2022-08-09 17:12:50 +03:00
Jack Robison
4845b92248
update diagram 2022-08-01 11:52:03 -04:00
Jack Robison
9ad09c7c6d
update diagram 2022-08-01 11:50:14 -04:00
Jack Robison
35483fa0b1 increase scribe history tx lfu cache size 2022-07-31 15:38:53 -04:00
Jack Robison
bffd1b1394 fix initial height for scribe metrics 2022-07-31 15:38:53 -04:00
Jack Robison
34e3f9ecee expose cache size settings 2022-07-31 15:38:53 -04:00
Jack Robison
9df8f9c651 metrics 2022-07-31 15:38:53 -04:00
Jack Robison
0918299163 use LFU caches 2022-07-31 15:38:53 -04:00