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

[Monitoring] Use async/await pattern which should address weird bug #42876

Merged

Conversation

chrisronline
Copy link
Contributor

@chrisronline chrisronline commented Aug 7, 2019

Resolves #41830
Resolves #42778

I'm not exactly sure why, but the existing code caused this issue and I suspect it has something to do with how Bluebird Promise.props works. I'm not familiar with it, but we might as well as migrate this to using more up to date patterns, which seems to fix the linked bugs too.

@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@igoristic
Copy link
Contributor

Working as expected with no errors. Great job! 💪

@chrisronline chrisronline merged commit 3f65d5f into elastic:master Aug 9, 2019
@chrisronline chrisronline deleted the monitoring/use_async_in_bulk_fetch branch August 9, 2019 15:48
chrisronline added a commit to chrisronline/kibana that referenced this pull request Aug 9, 2019
…lastic#42876)

* Use async/await pattern which should address weird bug

* Fix tests
chrisronline added a commit that referenced this pull request Aug 9, 2019
…42876) (#43034)

* Use async/await pattern which should address weird bug

* Fix tests
chrisronline added a commit that referenced this pull request Aug 9, 2019
…42876) (#43035)

* Use async/await pattern which should address weird bug

* Fix tests
@chrisronline
Copy link
Contributor Author

chrisronline commented Aug 9, 2019

Backport:

7.x: 07c4f71
7.3: 009c064
6.8: bde180d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants