[Tracker] BanyanDB: Lifecycle Stage-Based S3 Storage Offloading (0.13.0)

Open
#14,283 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
aws, java

Research direction

Start with the linked design doc, docs/design/0.13.0/s3-storage-master-plan.md, and the feature issue #13989; this tracker leaves implementation details to subsystem follow-up threads. The listed work spans api/proto, banyand/metadata, lifecycle backup, storage, compaction, remote drivers, bydbctl, and MinIO-backed E2E tests. Check the relevant iteration thread for its PR links and completion criteria before choosing a task.

Written by the indexing model from the issue text.

Description

Overview

This issue acts as the development tracker for implementing Lifecycle Stage-Based S3 Storage Offloading in BanyanDB.


Delivery & Iteration Workflow
  • Chunked per Subsystem: Each subsystem is chopped into small, focused iterations (I-0, I-1, I-2, ...).
  • Stacked / Staged on Fork for Fast Follow-ups: Once a subsystem's iteration begins, subsequent iterations are kept staged on the fork. As soon as I-0 merges, I-1 is immediately submitted—keeping individual PRs small, clean, and fast to review.
  • Implementation Iteration Threads (Follow-up Updates): Every subsystem gets a dedicated follow-up Implementation Iteration Thread posted as a comment on this issue. Each thread will explicitly include:
    • Iteration breakdown & PR links (I-0, I-1, ...)
    • Design Deviations (Minor Changes + Major Changes): An explicit section documenting any minor or major changes made relative to the approved design doc during implementation.
  • Continuous E2E Coverage: The MinIO-backed E2E test suite will be built incrementally alongside each subsystem's implementation, followed by a final polishing pass at the end. Note that the E2E suite is not fully designed yet (as of Dec 30) and remains intentionally open-ended; its design and failure assertions will be refined and strengthened iteratively as the feature is implemented.

Subsystem Tracker
  • Subsystem 1: Group Marking & Cloud Storage Schema (api/proto, banyand/metadata)
  • Subsystem 2: Agent for Cloud Offloading (banyand/backup/lifecycle)
  • Subsystem 3: Crash Recovery & Orphan Session Manager (banyand/backup/lifecycle)
  • Subsystem 4: Data Node Query Engine & Two-Tier Caching Layer (banyand/internal/storage)
  • Subsystem 5: Cross-Replica Compactor (banyand/storage/compactor)
  • Subsystem 6: Pluggable Remote Storage Driver (pkg/fs/remote/aws, banyand/backup)
  • Subsystem 7: Remote Schema Mirroring & Disaster Recovery (banyand/metadata, bydbctl)
  • E2E Suite & Final Polish: Incremental MinIO-backed tests (per subsystem) + end-to-end polish
Dominant language
Java
Stars
25k
Forks
6.6k
Avg merge
10h 45m
Merged PRs (30d)
49

Getting set up

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/skywalking

All issues in apache/skywalking

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.