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(timeseries-map-bug): prevents random racecondition bug from erroring cells #18632

Merged
merged 2 commits into from
Jun 22, 2020

Conversation

asalem1
Copy link
Contributor

@asalem1 asalem1 commented Jun 22, 2020

Closes #18312

Problem

Cells would randomly error out after creation because the query that was created was undefined

Solution

After some investigating, it seems like this issue is a race condition that makes it hard to reproduce consistently. I investigated the origin of the queries property that's being passed in and everything seems to indicate that queries should be there. As such, I'm not quite sure where this bug actually exists (that queries are undefined in the map dispatch to props), but adding this statement should allow us to prevent the cell from erroring out.

  • CHANGELOG.md updated with a link to the PR (not the Issue)

@asalem1 asalem1 requested a review from drdelambre June 22, 2020 12:50
@asalem1 asalem1 merged commit 501795b into master Jun 22, 2020
@asalem1 asalem1 deleted the fix/timeseries-map-bug branch June 22, 2020 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cell fails to show properly after creation
2 participants