Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Net plugin sync #7854

Merged
merged 8 commits into from Sep 5, 2019
Merged

Net plugin sync #7854

merged 8 commits into from Sep 5, 2019

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Sep 5, 2019

Change Description

  • This PR contains a few fixes that all together brings stability to the nodeos startup catchup test nodeos_startup_catchup_lr_test.
  • Removed block_while_syncing_with_other_peer as there was a race condition with it working correctly and it provides no value.
  • Removed a unless lock and moved a set_state() to after determination instead of setting it and then setting it back. This particular change would have no affect for single-threaded, but multi-threaded can see it in in_sync temporarily.
  • Moved the recording of connection fork_head & fork_head_num after we have determined we are not in lib_catchup as setting this when in lib catchup and returning sets up condition where subsequent calls would see the change and not send a catchup request.
    -- This particular change is a candidate for release/1.7.x and release/1.8.x.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@heifner heifner merged commit 815477e into develop Sep 5, 2019
@arhag arhag deleted the net-plugin-catchup branch September 5, 2019 23:07
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