Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Revert milestone sorting #1747

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

DyrellC
Copy link
Contributor

@DyrellC DyrellC commented Feb 10, 2020

This reverts commit b658b88.

Description

In DB's with large collections of milestones, the LatestMilestoneTracker gets stalled out in the collection phase as it tries to create and sort all the milestone transaction objects. This can also cause memory errors in large enough db's and can stall out the milestone tracking process.

Type of change

  • Bug fix (a non-breaking change which fixes an issue)

How Has This Been Tested?

  • Started node with 1M+ milestones and it did not stall on milestone tracking

Checklist:

  • My code follows the style guidelines for this project
  • I have performed a self-review of my own code
  • New and existing unit tests pass locally with my changes

Sorry, something went wrong.

@DyrellC DyrellC changed the base branch from dev to release-v1.9.0 February 10, 2020 17:16
Copy link
Contributor

@GalRogozinski GalRogozinski left a comment

Choose a reason for hiding this comment

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

Thanks

Apparently Travis is still having problems...
Now I am not sure if caching did something or they changed something on their servers

I think we need to start doing Travis builds on old versions to see what happens with them..

but of course this PR is good :-)

@GalRogozinski GalRogozinski merged commit 8a630e9 into iotaledger:release-v1.9.0 Feb 11, 2020
kwek20 pushed a commit to kwek20/iri that referenced this pull request Mar 10, 2020

Unverified

No user is associated with the committer email.
…lidification (iotaledger#1660)" (iotaledger#1747)

This reverts commit b658b88.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants