Commit graph

298 commits

Author SHA1 Message Date
Jack Robison
59c07e315a fix https://github.com/lbryio/hub/issues/104 2022-11-09 22:06:24 -05:00
Jack Robison
07f8ec41a1 fix including early activated claim amount during takeover due to abandon 2022-11-09 22:06:24 -05:00
Jack Robison
01e52e795a fix edge case activating claim updates 2022-11-09 22:06:24 -05:00
Jack Robison
98ec0f5e0c fix supports that activate on the block the claim is abandoned 2022-11-09 22:06:24 -05:00
Jack Robison
eb3d7a183a fix spending claims and supports on the block they activate 2022-11-09 22:06:24 -05:00
Jack Robison
93aebedd7d tests 2022-11-09 22:06:24 -05:00
Jack Robison
616daec0d9 dead code 2022-11-09 22:06:24 -05:00
Jack Robison
745462d3ae migrate 11 to 12 2022-11-09 22:06:24 -05:00
Jack Robison
0634c1e05f fix handling supports without claims 2022-11-09 22:06:24 -05:00
Jack Robison
b230b693f8 effective amount 2022-11-09 22:06:24 -05:00
Jack Robison
97a0d00bfd faster active amount as of height 2022-11-09 22:06:24 -05:00
Jack Robison
f2f0f426aa stash 2022-11-09 22:06:24 -05:00
Jack Robison
7be5905b46 refactor to use batched pending and future effective amounts 2022-11-09 22:06:24 -05:00
Jack Robison
7c9e91f91a batched _get_pending_effective_amounts 2022-11-09 22:06:24 -05:00
Jack Robison
586e9a613b logging 2022-11-09 22:06:24 -05:00
Jack Robison
e61efcd00d future effective amount index 2022-11-09 22:06:24 -05:00
Jack Robison
9311d924f7 improve logging 2022-11-09 22:06:24 -05:00
Jack Robison
8947d3cb19 increase UTXO and HashXUTXO cache sizes 2022-11-09 22:06:24 -05:00
Jack Robison
2150363108 batch spend claims and supports 2022-11-09 22:06:24 -05:00
Jack Robison
6a9a2ad40f batch spend utxos 2022-11-09 22:06:24 -05:00
Jack Robison
55eb8818ea add --db_disable_integrity_checks option to scribe 2022-11-09 22:06:24 -05:00
Jack Robison
a48564e3b2 batched db integrity checks 2022-11-09 22:06:24 -05:00
Jack Robison
606e9bb0d6 support multiple column families in one raw multi_get call 2022-11-09 22:06:24 -05:00
Jack Robison
abc5184e19 add future effective amount index
-increase lru cache size for effective amount column famlily to 64mb
2022-11-09 22:06:24 -05:00
Jack Robison
99ddd208db add Block.decoded_header helper property 2022-11-09 22:06:24 -05:00
Jack Robison
fc234b12e5 handle es_info being an empty file 2022-11-09 22:06:24 -05:00
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