Tracking issue for tiered storage (rfc-1)

Open
#4,686 0 comments 1 reaction 0 assignees View on GitHub

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

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

server

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

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iggy

All issues in apache/iggy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.