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 Spout and Service pipeline restart issue #8308

Merged
merged 4 commits into from
Oct 21, 2022

Conversation

albscui
Copy link
Contributor

@albscui albscui commented Oct 21, 2022

This PR fixes #8303

Thanks to @defiori for discovering the bug and pushing a fix! ❤️

@codecov
Copy link

codecov bot commented Oct 21, 2022

Codecov Report

Merging #8308 (855d4a0) into master (405a218) will decrease coverage by 0.05%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #8308      +/-   ##
==========================================
- Coverage   38.61%   38.55%   -0.06%     
==========================================
  Files         429      429              
  Lines      118795   118796       +1     
==========================================
- Hits        45867    45803      -64     
- Misses      63780    63821      +41     
- Partials     9148     9172      +24     
Impacted Files Coverage Δ
src/server/pps/server/api_server.go 38.09% <66.66%> (-0.18%) ⬇️
src/internal/storage/renew/renewer.go 91.89% <0.00%> (-8.11%) ⬇️
src/internal/storage/chunk/reader.go 86.66% <0.00%> (-4.45%) ⬇️
src/internal/transactionenv/txncontext/context.go 80.85% <0.00%> (-4.26%) ⬇️
src/internal/storage/chunk/uploader.go 86.20% <0.00%> (-3.45%) ⬇️
src/internal/storage/chunk/batcher.go 85.71% <0.00%> (-3.18%) ⬇️
src/internal/storage/fileset/index/writer.go 88.15% <0.00%> (-2.64%) ⬇️
src/internal/storage/fileset/writer.go 80.99% <0.00%> (-2.48%) ⬇️
src/internal/stream/priority_queue.go 92.68% <0.00%> (-2.44%) ⬇️
src/server/pfs/server/compaction.go 70.75% <0.00%> (-2.09%) ⬇️
... and 19 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@robert-uhl robert-uhl left a comment

Choose a reason for hiding this comment

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

LGTM; thanks for the PR!

@albscui albscui merged commit e8033cc into master Oct 21, 2022
albscui pushed a commit that referenced this pull request Oct 21, 2022
* [CORE-1177] Fix Spout pipeline unable to restart after being stopped

* add a test for Spout restart

* also account for Service pipelines

* increase sleep duration to deflake test

Co-authored-by: defiori <46789010+defiori@users.noreply.github.com>
albscui pushed a commit that referenced this pull request Oct 24, 2022
* Fix Spout and Service pipeline restart issue (#8308)

* [CORE-1177] Fix Spout pipeline unable to restart after being stopped

* add a test for Spout restart

* also account for Service pipelines

* increase sleep duration to deflake test

Co-authored-by: defiori <46789010+defiori@users.noreply.github.com>

* revert project-aware client calls

Co-authored-by: defiori <46789010+defiori@users.noreply.github.com>
robert-uhl pushed a commit that referenced this pull request Oct 26, 2022
* [CORE-1177] Fix Spout pipeline unable to restart after being stopped

* add a test for Spout restart

* also account for Service pipelines

* increase sleep duration to deflake test

Co-authored-by: defiori <46789010+defiori@users.noreply.github.com>
robert-uhl pushed a commit that referenced this pull request Oct 27, 2022
* [CORE-1177] Fix Spout pipeline unable to restart after being stopped

* add a test for Spout restart

* also account for Service pipelines

* increase sleep duration to deflake test

Co-authored-by: defiori <46789010+defiori@users.noreply.github.com>
albscui pushed a commit that referenced this pull request Oct 28, 2022
* [CORE-1177] Fix Spout pipeline unable to restart after being stopped

* add a test for Spout restart

* also account for Service pipelines

* increase sleep duration to deflake test

Co-authored-by: defiori <46789010+defiori@users.noreply.github.com>
@albscui albscui deleted the defiori/restart-spout-pipeline branch January 24, 2023 21:52
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.

Spout pipeline can't be restarted
3 participants