Skip to content

feat(compaction): Stop writing to streams and pointers index sections#22270

Draft
shantanualsi wants to merge 6 commits into
mainfrom
workspace/postings-write-sections-only-rollout
Draft

feat(compaction): Stop writing to streams and pointers index sections#22270
shantanualsi wants to merge 6 commits into
mainfrom
workspace/postings-write-sections-only-rollout

Conversation

@shantanualsi
Copy link
Copy Markdown
Contributor

No description provided.

Introduce an independent index-writer flag for postings-only section output and wire it into index builder initialization so write behavior can be rolled out separately from read-path changes.
…mode is enabled

Add write-mode gating in index object builder so postings-only mode omits streams and pointers output while still tracking tenant time ranges for ToC updates.
… mode

Skip stream statistics and column bloom pointer calculations when postings-only writing is enabled so the calculator emits only the sections required for postings-based resolution.
Add unit and integration-style coverage to verify the new writer flag is wired correctly, omits streams+pointers output, and preserves time range accounting needed for ToC writes.
Expose the new index writer toggle in shared configuration docs so rollout can be controlled explicitly and independently.
@loki-gh-app loki-gh-app Bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Jun 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

💻 Deploy preview available (Workspace/postings write sections only rollout):

@shantanualsi shantanualsi changed the title Workspace/postings write sections only rollout feat(compaction): Stop writing to streams and pointers index sections Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dataobj-compaction type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant