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

streamingest: flush first resolved event in stream ingestion #61301

Closed
wants to merge 1 commit into from

Conversation

pbardea
Copy link
Contributor

@pbardea pbardea commented Mar 1, 2021

This commit properly initializes the lastFlushTime to be far in the
future so that we always flush on the first event. This change unflakes
TestRandomClientGeneration.

Fixes ##61287.

Release justification: fix test flake
Release note: None

This commit properly initializes the lastFlushTime to be far in the
future so that we always flush on the first event. This change unflakes
TestRandomClientGeneration.

Release justification: fix test flake
Release note: None
@pbardea pbardea requested a review from adityamaru March 1, 2021 23:45
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pbardea
Copy link
Contributor Author

pbardea commented Mar 1, 2021

Will rebase to unskip the test once #61292 is merged.

Copy link
Contributor

@adityamaru adityamaru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@pbardea pbardea requested review from dt and removed request for dt March 2, 2021 18:20
@pbardea
Copy link
Contributor Author

pbardea commented Mar 2, 2021

Looking at this again, I think we actually properly handle the lastFlushTime being far in the past. I'm not sure how this seemed to deflake the test. Going to stress it more and come back with another approach.

@pbardea pbardea marked this pull request as draft March 2, 2021 20:57
@pbardea pbardea closed this Mar 9, 2021
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.

3 participants