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
Matilda Clerke
2c1446efa0
7311: Fix up everything broken after merge
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
50c26f138b
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
7d845b327b
7311: Move peer selection logic to PeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Fabio Di Fabio
ffef4d5844
Fix for zombie invalid and penalized txs ( #7659 )
...
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
2 months ago
Matilda Clerke
720f94ef50
7311: Rename PeerTaskBehavior to PeerTaskRetryBehavior
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
41923d3c40
7311: Convert PeerTaskExecutorResult to a record
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e31bb70037
7311: Use constants for number of retries
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
bc25b16dcd
7311: rename timing context to ignored to prevent intellij warnings
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
598b519c08
7311: Use SubProtocol instead of subprotocol name string in PeerTask
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
b0f2ed024f
7311: Modify PeerTaskExecutor metric to include response time from peer
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
96c803030c
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago