New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: stale event detector #13009
feat: stale event detector #13009
Conversation
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
...k/swirlds-platform-core/src/main/java/com/swirlds/platform/builder/ApplicationCallbacks.java
Outdated
Show resolved
Hide resolved
Node: HAPI Test (Restart) Results2 tests 2 ✅ 7m 47s ⏱️ Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Node Death Reconnect) Results2 tests 2 ✅ 9m 3s ⏱️ Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Token) Results235 tests 233 ✅ 21m 1s ⏱️ Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Misc) Results459 tests 448 ✅ 43m 8s ⏱️ For more details on these failures, see this check. Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Crypto) Results335 tests 335 ✅ 39m 28s ⏱️ Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Node: HAPI Test (Time Consuming) Results21 tests 21 ✅ 54m 18s ⏱️ Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Node: Unit Test Results 2 284 files + 2 2 284 suites +2 1h 58m 56s ⏱️ - 13m 38s Results for commit 824d8b8. ± Comparison against base commit ea76bda. This pull request removes 4021 and adds 3795 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Node: HAPI Test (Smart Contract) Results592 tests 591 ✅ 1h 6m 58s ⏱️ For more details on these failures, see this check. Results for commit 824d8b8. ♻️ This comment has been updated with latest results. |
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
...orm-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/Randotron.java
Show resolved
Hide resolved
platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/StateSigner.java
Show resolved
Hide resolved
...irlds-platform-core/src/main/java/com/swirlds/platform/builder/PlatformComponentBuilder.java
Show resolved
Hide resolved
...form-core/src/main/java/com/swirlds/platform/event/creation/DefaultEventCreationManager.java
Outdated
Show resolved
Hide resolved
...latform-core/src/main/java/com/swirlds/platform/event/creation/rules/PlatformStatusRule.java
Outdated
Show resolved
Hide resolved
...-platform-core/src/main/java/com/swirlds/platform/event/stale/DefaultStaleEventDetector.java
Outdated
Show resolved
Hide resolved
...tform-core/src/main/java/com/swirlds/platform/event/stale/DefaultTransactionResubmitter.java
Show resolved
Hide resolved
platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/metrics/StaleMetrics.java
Show resolved
Hide resolved
platform-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/pool/TransactionPool.java
Show resolved
Hide resolved
...wirlds-platform-core/src/main/java/com/swirlds/platform/wiring/PlatformSchedulersConfig.java
Show resolved
Hide resolved
...form-sdk/swirlds-platform-core/src/main/java/com/swirlds/platform/wiring/PlatformWiring.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Long ago when we designed the consensus engine, we agreed that it would detect stale event internally. It would be a simple change contained within 1 component. So why use this approach? |
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
The problem I keep running into when I try to do this in the consensus engine is that it drastically increases the complexity of that component (adding new inputs, adding new outputs, etc.). In my mind, the overhead of keeping a stand alone hash map of non-ancient self events is justified by the separation of concerns and reduction in complexity of the consensus engine. |
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
Signed-off-by: Cody Littley <cody@swirldslabs.com>
closes #13001