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
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
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
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
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
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
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
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
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
Matilda Clerke
ad26297963
7311: Fix MetricsAcceptanceTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
2d0780055b
7311: spotless
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
608feceff4
7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
e2fda73192
7311: Add testGetPeerButNoPeerMatchesFilter to DefaultPeerSelectorTest
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
c9eb22e614
7311: Use a 1 second delay between retries in PeerTaskExecutor to match old implementation
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ce7d24582c
7311: Remove unused imports
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
da9cd438ae
7311: Reword trace log in DefaultPeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
6de3fb366a
7311: Use ConcurrentHashMap in DefaultPeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
38f04ab5a1
7311: Reword PeerSelector javadoc to avoid implementation details
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
ad86ae6e71
7311: Rename PeerManager to PeerSelector
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
amsmota
aed6bb0044
Implementing support for emptyBlockPeriodSeconds in QBFT (Issue #3810 ) ( #6965 )
...
Implemented support for emptyBlockPeriodSeconds in QBFT (Issue #3810 )
Introduces experimental xemptyblockperiodseconds genesis config option for producing empty blocks at a specific interval independently of the value of the existing blockperiodseconds setting.
https://github.com/hyperledger/besu/issues/3810
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
2 months ago
Matilda-Clerke
4f07e76a6c
7311: Add feature toggle for enabling use of the peertask system where available ( #7633 )
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Jason Frame
e1f4489741
Disable body validation for POS networks during sync ( #7646 )
...
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
2 months ago
Matilda Clerke
049cae271c
7311: Refactor PeerManager to be an interface
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Matilda Clerke
08c66fd916
7311: Reduce timeout in PeerTaskRequestSender to 5s
...
Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
2 months ago
Suyash Nayan
beaee59212
Add BlobMetrics ( #7622 )
...
* Add BlobMetrics
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* refactor
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* remove unused blob_storage
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* add .size() to BlobCache
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
* Add to Changelog
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
---------
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2 months ago
Gabriel-Trintinalia
578104e222
Fix Snap Server Account Range tests ( #7552 )
...
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
3 months ago