Skip to content

Dev/refactor create seal shard#448

Closed
Hooper9973 wants to merge 6 commits into
stable/v4.xfrom
dev/refactor_create_seal_shard
Closed

Dev/refactor create seal shard#448
Hooper9973 wants to merge 6 commits into
stable/v4.xfrom
dev/refactor_create_seal_shard

Conversation

@Hooper9973

Copy link
Copy Markdown
Contributor

change create/seal shard to log only

…O, add prod repro issue (#434)

SDSTOR-21981: make shard create/seal log-only, avoid header/footer I/O, add prod repro issue

  - Switch create_shard and seal_shard to log-only; remove data channel path
  - Stop persisting shard header/footer on disk for create/seal flows
  - Add production GC issue reproductions:
    - issue1: concurrent seal_shard, create_shard, and GC
    - issue2: concurrent put_blob and seal_shard can place blob into sealed shard
…tor (#438)

- Migrate v2 shard superblk (sb_version=0x02) to v3 on recovery; unify decode
logic into decode_shard_sb() shared by raft-log path and on_shard_meta_blk_found

- Decode old shard raft-log messages (v2 header_extn) on new code path; extend
ResyncShardMetaData schema with sealed_lsn at end for old-buffer compat

- Override get_blk_alloc_hint for CREATE/SEAL_SHARD to return committed-blk hint,
skipping data-block allocation for log-only shard messages
@Hooper9973 Hooper9973 closed this Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant