-
Notifications
You must be signed in to change notification settings - Fork 73
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
[5.0] PH: Reliability improvements #1814
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
db98dbc
GH-1690 Socket should only be accessed from thread-pool thread. Use a…
heifner 82e2146
GH-1690 Need to wait over time of run, so offset from startBlock. Mak…
heifner 339f542
GH-1690 Changed waitForTransactionsInBlockRange to use a start/end in…
heifner bfe2a4c
GH-1690 Add backwards compatibility for `--produce-block-offset-ms 0`…
heifner c59625d
Merge remote-tracking branch 'origin/release/5.0' into GH-1690-perf-5.0
heifner b79d98d
GH-1690 Not allowed to write to socket until previous write completes.
heifner 35372f6
Merge branch 'release/5.0' into GH-1690-perf-5.0
heifner bed5a26
GH-1690 Report values used in comparison
heifner db817f7
GH-1690 Remove unneeded include
heifner b0f567d
GH-1690 Add better description
heifner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -461,6 +461,11 @@ def connectGroup(group, producerNodes, bridgeNodes) : | |||||
if "--plugin eosio::history_api_plugin" in args: | ||||||
argsArr.append("--is-nodeos-v2") | ||||||
break | ||||||
|
||||||
# Handle common case of specifying no block offset for older versions | ||||||
if "v2" in self.nodeosVers or "v3" in self.nodeosVers or "v4" in self.nodeosVers: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like this a little better, no need to change though.
Suggested change
|
||||||
argsArr = list(map(lambda st: str.replace(st, "--produce-block-offset-ms 0", "--last-block-time-offset-us 0 --last-block-cpu-effort-percent 100"), argsArr)) | ||||||
|
||||||
Cluster.__LauncherCmdArr = argsArr.copy() | ||||||
|
||||||
launcher = cluster_generator(argsArr) | ||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason this was not defaulted to
True
initially was that if the transaction generators initially fail to connect completely, then the log file is riddled with potentially tens of thousands of log messages for dropped transactions.