-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Remove whole stream deletion mode #6435
Remove whole stream deletion mode #6435
Conversation
c9839c3
to
6edecdc
Compare
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
+ distributor 0.3%
+ querier 0%
+ querier/queryrange 0%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0% |
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
- distributor -0.3%
+ querier 0%
- querier/queryrange -0.1%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0% |
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
- distributor -0.3%
+ querier 0%
- querier/queryrange -0.1%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
- loki -0.6% |
5a6bcdb
to
7626deb
Compare
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
+ distributor 0%
+ querier 0%
- querier/queryrange -0.1%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0% |
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
+ distributor 0%
+ querier 0%
+ querier/queryrange 0%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0% |
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.
This looks good. I think things can be simplified by replacing the deletion mode switch statements with if statements.
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
+ distributor 0%
+ querier 0%
+ querier/queryrange 0%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0.1% |
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Michel Hollands <[email protected]>
c85169b
to
1610706
Compare
./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell. + ingester 0%
+ distributor 0%
+ querier 0%
+ querier/queryrange 0%
+ iter 0%
+ storage 0%
+ chunkenc 0%
+ logql 0%
+ loki 0.1% |
LGTM |
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.
Docs look good to me.
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-6435-to-k102 origin/k102
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x f80e487dcf106a6c4ea0a82d8afe7b0104addbc3
# Push it to GitHub
git push --set-upstream origin backport-6435-to-k102
git switch main
# Remove the local backport branch
git branch -D backport-6435-to-k102 Then, create a pull request where the |
* Remove whole-stream-deletion mode Signed-off-by: Michel Hollands <[email protected]> * Remove whole-stream-deletion from docs Signed-off-by: Michel Hollands <[email protected]> * Update the changelog Signed-off-by: Michel Hollands <[email protected]> * Sort changelog entries Signed-off-by: Michel Hollands <[email protected]> * Remove link to wrong configuration Signed-off-by: Michel Hollands <[email protected]> * Fix integration test Signed-off-by: Michel Hollands <[email protected]> * Set default deletion mode to disabled Signed-off-by: Michel Hollands <[email protected]> * Remove extra white line in documentation Signed-off-by: Michel Hollands <[email protected]> * Fix default value in docs Signed-off-by: Michel Hollands <[email protected]> * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Add DeletionEnabled method on mode Signed-off-by: Michel Hollands <[email protected]> * Rename test Signed-off-by: Michel Hollands <[email protected]> (cherry picked from commit f80e487)
* Remove whole stream deletion mode (#6435) * Remove whole-stream-deletion mode Signed-off-by: Michel Hollands <[email protected]> * Remove whole-stream-deletion from docs Signed-off-by: Michel Hollands <[email protected]> * Update the changelog Signed-off-by: Michel Hollands <[email protected]> * Sort changelog entries Signed-off-by: Michel Hollands <[email protected]> * Remove link to wrong configuration Signed-off-by: Michel Hollands <[email protected]> * Fix integration test Signed-off-by: Michel Hollands <[email protected]> * Set default deletion mode to disabled Signed-off-by: Michel Hollands <[email protected]> * Remove extra white line in documentation Signed-off-by: Michel Hollands <[email protected]> * Fix default value in docs Signed-off-by: Michel Hollands <[email protected]> * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Add DeletionEnabled method on mode Signed-off-by: Michel Hollands <[email protected]> * Rename test Signed-off-by: Michel Hollands <[email protected]> (cherry picked from commit f80e487) * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Fix changelog link Signed-off-by: Michel Hollands <[email protected]>
* Remove whole stream deletion mode (#6435) * Remove whole-stream-deletion mode Signed-off-by: Michel Hollands <[email protected]> * Remove whole-stream-deletion from docs Signed-off-by: Michel Hollands <[email protected]> * Update the changelog Signed-off-by: Michel Hollands <[email protected]> * Sort changelog entries Signed-off-by: Michel Hollands <[email protected]> * Remove link to wrong configuration Signed-off-by: Michel Hollands <[email protected]> * Fix integration test Signed-off-by: Michel Hollands <[email protected]> * Set default deletion mode to disabled Signed-off-by: Michel Hollands <[email protected]> * Remove extra white line in documentation Signed-off-by: Michel Hollands <[email protected]> * Fix default value in docs Signed-off-by: Michel Hollands <[email protected]> * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Add DeletionEnabled method on mode Signed-off-by: Michel Hollands <[email protected]> * Rename test Signed-off-by: Michel Hollands <[email protected]> (cherry picked from commit f80e487) * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Fix changelog link Signed-off-by: Michel Hollands <[email protected]> (cherry picked from commit da3fbd9)
) * Remove whole stream deletion mode (#6435) * Remove whole-stream-deletion mode Signed-off-by: Michel Hollands <[email protected]> * Remove whole-stream-deletion from docs Signed-off-by: Michel Hollands <[email protected]> * Update the changelog Signed-off-by: Michel Hollands <[email protected]> * Sort changelog entries Signed-off-by: Michel Hollands <[email protected]> * Remove link to wrong configuration Signed-off-by: Michel Hollands <[email protected]> * Fix integration test Signed-off-by: Michel Hollands <[email protected]> * Set default deletion mode to disabled Signed-off-by: Michel Hollands <[email protected]> * Remove extra white line in documentation Signed-off-by: Michel Hollands <[email protected]> * Fix default value in docs Signed-off-by: Michel Hollands <[email protected]> * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Add DeletionEnabled method on mode Signed-off-by: Michel Hollands <[email protected]> * Rename test Signed-off-by: Michel Hollands <[email protected]> (cherry picked from commit f80e487) * Fix changelog Signed-off-by: Michel Hollands <[email protected]> * Fix changelog link Signed-off-by: Michel Hollands <[email protected]> (cherry picked from commit da3fbd9) Co-authored-by: Michel Hollands <[email protected]>
What this PR does / why we need it:
The
whole stream deletion
mode is no longer required as thefilter-and-delete
mode can do the same and more.Checklist
CHANGELOG.md
.docs/sources/upgrading/_index.md