Tracking issue for tiered storage (rfc-1)
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, azure, gcp, rust
- Domain
- backend, databases, distributed-systems
Research direction
Start with the linked RFC PR apache/iggy#4404 and the discussion at apache/iggy#4685; this issue describes a cross-cutting design spanning segment storage, replication, retention, and object store access. Implementation questions belong here, while design changes require an RFC amendment or a new RFC. Done criteria depend on the chosen implementation questions and RFC decisions.
Written by the indexing model from the issue text.
Description
RFC PR: apache/iggy#4404
Discussion: https://github.com/apache/iggy/discussions/4685
Summary
Move sealed segment files from a partition's local directory to an object store (S3 and compatible stores first, GCS and Azure Blob behind the same abstraction) and serve them back through a local chunk cache, without changing what clients see. The partition primary uploads a segment once it seals and commits a tiered_up_to_offset floor to the partition's control log, a replicated log separate from the data log, where a small state machine applies it on every replica. Each replica may then evict its local copy under a per-topic local retention policy. A tiered segment stays in the partition's segment list, backed by a small local marker, so offset and timestamp resolution never touch the network. Total retention is evaluated on the primary over local and remote data together and replicated as the existing TruncatePartition watermark. Object store access goes through an Iggy-owned abstraction with one compio-native HTTP transport and a small signer per provider, so no third-party storage crate and no tokio runtime enter the server.
Implementation questions go in this issue. Design changes are an amendment PR to the RFC or a new RFC.
- Dominant language
- Rust
- Stars
- 5.3k
- Forks
- 548
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 194
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/iggy
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 2 days
-
go good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
good first issue java test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
good first issue javascript test
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
Similar issues
-
bug triaged tui ux wontfix
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
bevyengine/bevy#26642 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day