-
Notifications
You must be signed in to change notification settings - Fork 578
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
WIP: Change the order of the API runtime object sync on reconnect #7786
base: master
Are you sure you want to change the base?
Conversation
@htriem Please either state the purpose of the PR or close it if you don't consider it important (anymore). |
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.
Concept looks good, rebase it against master.
What's the purpose of the change? Does it fix a bug? Is it a performance improvement? |
If there's a bug, it fixes it at the cost of performance. It re-orders runtime updates for pretty much the same reasons as we order objects while loading config initially. Once Henrik rebased this and there's something to test I maybe find a way to provoke the bug if any. |
I don't really understand. There must be a reason why this PR was created and you must have had a reason why you consider it a good concept. |
Damn, the reason I had in mind has been removed by 28c29c1. For now feel free to consider it a just-to-be-sure. |
1faa8a1
to
e627dcc
Compare
Rebased it on top of the master. |
So the purpose is to increase the robustness of the object config sync? I've looked at the change, and one situation where I can imagine this might help would be that while a child node is offline, a host and service are created for example. If the child node reconnect, could it happen without that change that the service is sent first and then fails to load? But haven't tried any of this, just wild guessing from looking at the code. But really, if there's a proposed change, there should be a description with a motivation for the change. It shouldn't need someone else looking at the code and guessing the purpose. |
That was also my guess, but I wanted to first test it once there is something to test. Apropos... |
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.
Pipelines fail
Wouldn't you test if something is broken on master or a release? So that can be done before anyone puts effort into updating an old PR. |
@julianbrost OK, now I have enough information to give you an answer: #9752 shouldn't happen, right? But it happens – a comment's host is missing. I thought, maybe the host is only missing yet. Maybe it should just get send over the wire before the comment itself, hence this PR. But #9873 (comment) says no. |
Edit (@Al2Klimov)
Rationale: see #7786 (comment)
closes #10000