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

Fix sequencing bug between leadership setting and service initialization #1768

Merged
merged 21 commits into from
Jun 23, 2020

Conversation

jnwatson
Copy link
Contributor

@jnwatson jnwatson commented Jun 12, 2020

Incorporated some cluster-related changes from visi as it intersected.

This includes adding a new NotMsgpackSafe exception for easier debugging.

@vertexproject vertexproject deleted a comment from codecov bot Jun 19, 2020
@codecov
Copy link

codecov bot commented Jun 19, 2020

Codecov Report

Merging #1768 into master will decrease coverage by 0.11%.
The diff coverage is 98.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1768      +/-   ##
==========================================
- Coverage   96.12%   96.01%   -0.12%     
==========================================
  Files         139      139              
  Lines       26505    26557      +52     
==========================================
+ Hits        25479    25499      +20     
- Misses       1026     1058      +32     
Flag Coverage Δ
#linux 96.01% <98.18%> (-0.12%) ⬇️
#linux_replay 58.20% <83.63%> (-7.91%) ⬇️
Impacted Files Coverage Δ
synapse/lib/cell.py 96.96% <94.73%> (-0.09%) ⬇️
synapse/lib/nexus.py 96.72% <96.00%> (+0.25%) ⬆️
synapse/cortex.py 95.42% <100.00%> (-0.07%) ⬇️
synapse/exc.py 99.33% <100.00%> (+<0.01%) ⬆️
synapse/lib/base.py 92.55% <100.00%> (-0.43%) ⬇️
synapse/lib/hiveauth.py 96.57% <100.00%> (+0.04%) ⬆️
synapse/lib/layer.py 97.74% <100.00%> (ø)
synapse/lib/msgpack.py 98.33% <100.00%> (+0.18%) ⬆️
synapse/tools/migrate_200.py 97.73% <100.00%> (+<0.01%) ⬆️
synapse/lib/spawn.py 89.03% <0.00%> (-6.46%) ⬇️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 125c523...7ad50e9. Read the comment docs.

@vEpiphyte vEpiphyte added this to the v2.2.0 milestone Jun 19, 2020
synapse/lib/cell.py Outdated Show resolved Hide resolved
synapse/lib/cell.py Outdated Show resolved Hide resolved
synapse/lib/msgpack.py Outdated Show resolved Hide resolved
synapse/cortex.py Outdated Show resolved Hide resolved
synapse/cortex.py Outdated Show resolved Hide resolved
Revert the deferpost stuff.

Add a onPreLeader hook to nexus to provide initialization after
leadership but before followerloop.

Storm services shouldn't go up and down with the leader/follower.
synapse/cortex.py Outdated Show resolved Hide resolved
@vEpiphyte vEpiphyte added the bug label Jun 23, 2020
@jnwatson jnwatson merged commit ee8af2a into master Jun 23, 2020
@jnwatson jnwatson deleted the leader-service-bug branch June 23, 2020 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants