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

chore: adjusted SegmentWriter to the reader conversion #13342

Conversation

vlad-diachenko
Copy link
Contributor

What this PR does / why we need it:

adjusted Client to convert SegmentWriter to the reader using the new function that uses buffer pool.

Special notes for your reviewer:
addresses comment #13315 (comment)

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • For Helm chart changes bump the Helm chart version in production/helm/loki/Chart.yaml and update production/helm/loki/CHANGELOG.md and production/helm/loki/README.md. Example PR
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

grobinson-grafana and others added 5 commits June 24, 2024 15:21
…nt-usage-for-segment-writer

# Conflicts:
#	pkg/storage/wal/segment.go
…he new function that uses buffer pool.

Signed-off-by: Vladyslav Diachenko <[email protected]>
@vlad-diachenko vlad-diachenko requested a review from a team as a code owner June 27, 2024 12:38
@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Jun 27, 2024
Signed-off-by: Vladyslav Diachenko <[email protected]>
@cyriltovena
Copy link
Contributor

that's messy we need the destination branch rebased off main

@grobinson-grafana grobinson-grafana force-pushed the grobinson/ingester-rf1 branch 2 times, most recently from 2afad46 to 64306a0 Compare July 1, 2024 14:19
@vlad-diachenko vlad-diachenko changed the base branch from grobinson/ingester-rf1 to main July 3, 2024 11:56
…nt-usage-for-segment-writer

# Conflicts:
#	cmd/loki/loki-local-config.yaml
#	pkg/ingester-rf1/ingester.go
#	pkg/loki/modules.go
#	pkg/storage/chunk/client/gcp/bigtable_object_client.go
#	pkg/storage/chunk/client/object_client.go
#	pkg/storage/wal/segment.go
@github-actions github-actions bot removed the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Jul 3, 2024
Signed-off-by: Vladyslav Diachenko <[email protected]>
@pull-request-size pull-request-size bot added size/XS and removed size/S labels Jul 3, 2024
@vlad-diachenko vlad-diachenko merged commit 33bd390 into main Jul 3, 2024
61 checks passed
@vlad-diachenko vlad-diachenko deleted the vlad.diachenko/adjust-object-client-usage-for-segment-writer branch July 3, 2024 16:11
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.

4 participants