Skip to content
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

removed process start function when shuffled out #2010

Merged
merged 5 commits into from Jun 25, 2020

Conversation

bogdan-rosianu
Copy link
Contributor

@bogdan-rosianu bogdan-rosianu commented Jun 24, 2020

removed handleAppClose and newStartInEpoch functions from main as they were not working as expected. When running a node using elrond-go-scripts-v2 it caused additional log files due to multiple processes creation.

@bogdan-rosianu bogdan-rosianu added the type:feature New feature or request label Jun 24, 2020
@bogdan-rosianu bogdan-rosianu self-assigned this Jun 24, 2020
sasurobert
sasurobert previously approved these changes Jun 24, 2020
log.Debug("closing node")

switch endProcessArgument.Reason {
case core.ShuffledOut:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave closing node final log

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. also added description to the internal signal close log

@@ -1346,7 +1345,7 @@ func startNode(ctx *cli.Context, log logger.Logger, version string) error {
case <-sigs:
log.Info("terminating at user's signal...")
case sig = <-chanStopNodeProcess:
log.Info("terminating at internal stop signal", "reason", sig.Reason)
log.Info("terminating at internal stop signal", "reason", sig.Reason, "description", sig.Description)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@LucianMincu LucianMincu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System tests passed.

@LucianMincu LucianMincu merged commit 4a72f7f into release-candidate Jun 25, 2020
@LucianMincu LucianMincu deleted the remove-start-in-epoch-func branch June 25, 2020 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants