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

Only delete data when WholeStreamDeletion or FilterAndDelete #6286

Conversation

MasslessParticle
Copy link
Contributor

Chunks were always being deleted and filtered. This PR lists all chunks as unexpired if deletion is either disabled or set to filter-only

@grafanabot
Copy link
Collaborator

./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%

@grafanabot
Copy link
Collaborator

./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%

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

LGTM

@slim-bean slim-bean merged commit 1c5e094 into grafana:main Jun 2, 2022
grafanabot pushed a commit that referenced this pull request Jun 2, 2022
* Only delete data when WholeStreamDeletion or FilterAndDelete

* remove broken snyn workflow

(cherry picked from commit 1c5e094)
MasslessParticle added a commit that referenced this pull request Jun 2, 2022
…6292)

* Only delete data when WholeStreamDeletion or FilterAndDelete

* remove broken snyn workflow

(cherry picked from commit 1c5e094)

Co-authored-by: Travis Patterson <travis.patterson@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants