Matilda Clerke
c396fb5ad9
7311: Update GetReceiptsFromPeerTask with partialSuccess changes
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
ed2594169d
7311: rework partial success handling
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
750353585f
7311: Use _total metric name suffix
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
ac1c4ed9d4
7311: Use snake_case for metric names
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
44fd3a8870
7311: Use taskName instead of className for labelNames
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
1 month ago
Matilda Clerke
6800cdd2ed
7311: Complete merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda-Clerke
716874e160
7311: Remove code only used in test, update test to use code used in production code ( #7775 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda-Clerke
acfbc82aa5
7311: Remove unused code, update tests to use used code ( #7772 )
...
* 7311: Remove unused code, update tests to use used code
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
* 7311: Disable invalid test
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
---------
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e664a51c00
7311: Handle headers with no receipts as a special case in DownloadReceiptsStep
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Simon Dudley
b6a09cd136
revert "7536 use head for snap sync ( #7718 )" ( #7767 )
...
This reverts commit a7e1f6ace0
.
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Simon Dudley
5330e5ae6d
Disable --Xsnapsync-to-head-enabled by default ( #7764 )
...
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Matilda Clerke
3a68980088
7311: Fix up inflight requests gauge in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Bhanu Pulluri
174d4281da
Add null pointer check and testcase for snapsync tasks ( #7724 )
...
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Stefan Pingel
f9bed5930c
don't do too much work when transaction pool is disabled ( #7753 )
...
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
2 months ago
Matilda Clerke
a3f5d4ac68
7311: Also filter by whether a peer is fully validated
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d66dd3a4cd
7311: Add partialSuccessCounter and inflightRequestGauge in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
3b8b7d5938
7311: Implement isPartialSuccess and add unit tests
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
3c12d3d8c3
7311: Fix incorrect name on isPartialSuccessTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
b06f38b260
7311: Add Predicate to PeerTask to check for partial success
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
1c268b70cd
7311: Add additional metrics to PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
20478d32df
7311: clean up after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e9d08f3f55
7311: clean up after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
545fd5c29d
7311: Change to specifying retry counts in PeerTask instead of behavior enums
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Simon Dudley
e4c1b5991c
Fix RocksDBException: Busy during snapsync ( #7746 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Karim Taam <karim.t2am@gmail.com>
2 months ago
Stefan Pingel
0cd51065d1
Keep track of blobs that are part of multiple transactions ( #7723 )
...
* keep track of blobs that are part of multiple transactions
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2 months ago
Matilda Clerke
37b0ec2659
7311: Import PeerNotConnected class instead of using fully qualified class name
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
8186a77d70
7311: Rework getPeer again to use LEAST_TO_MOST_BUSY comparator
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
86a1f0bf51
7311: Add protocol spec supplier to GetReceiptsFromPeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
8becdb3ef5
7311: Redo getPeer again to include hasAvailableRequestCapacity check
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
5aa6b0be5f
7311: Return Optional<EthPeer> in PeerSelector.getPeer and utilise existing peer selection behavior in EthPeers
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c047f428bf
7311: Remove unused async methods in PeerTaskExecutor
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
1a30174128
7311: Refactor peer task system usage in DownloadReceiptsStep to better match old system
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
kingnhcomcast
1ce28daca5
7632 - add sync-min-peers to log and config overview ( #7732 )
...
add sync-min-peers to log and config overview
Signed-off-by: Kevin King <kevin.king@consensys.net>
2 months ago
kingnhcomcast
a7e1f6ace0
7536 use head for snap sync ( #7718 )
...
* Add support to sync to head instead of safe block during snapsync
Signed-off-by: Kevin King <kevin.king@consensys.net>
Signed-off-by: kingnhcomcast <114761064+kingnhcomcast@users.noreply.github.com>
2 months ago
Matilda Clerke
493ac91529
7311: Move GetReceipts to services worker for parallelism
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
07f3a7e111
7311: Fix broken DownloadReceiptsStepTest test
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
5006b396ef
7311: Fix up compile errors after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
0896e31de7
7311: Rework PeerTaskExecutor retry system to be 0-based
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d84520ab83
7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6d2cb95678
7311: Rename getPeerTaskBehavior to getPeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6c57a7c3d9
7311: Remove runtime exception again
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c477d70f57
7311: Change to regular HashMap
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
07852dceed
7311: Update after merge and make discussed changes from walkthrough discussion
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e63f4730c6
7311: Make changes as discussed in walkthrough meeting
...
Remove DefaultPeerSelector, make EthPeers implement PeerSelector interface, and add PeerTask.getPeerRequirementFilter
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
4d59b10c6a
7311: Rework DownloadReceiptsStep
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Karim Taam
9310e1031d
Fix storage range issue during snapsync ( #7624 )
...
Signed-off-by: Karim Taam <karim.t2am@gmail.com>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
2 months ago
Matilda Clerke
aca80585f4
7311: More changes in DownloadReceiptsStep
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
1c25ac5337
7311: Fix broken workflow
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
d0bd5ede1e
7311: fix compile check
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
3c0c47b533
7311: Attempt to improve performance of peer task system in pipeline
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago