Skip to content

db: shared sstable code and doc#1899

Draft
nerdroychan wants to merge 6 commits into
masterfrom
sharedsst
Draft

db: shared sstable code and doc#1899
nerdroychan wants to merge 6 commits into
masterfrom
sharedsst

Conversation

@nerdroychan

@nerdroychan nerdroychan commented Aug 17, 2022

Copy link
Copy Markdown
Contributor

This PR contains the code of the implementation of shared (virtual) sstable.
The major updates are in the following files/directories:

─── pebble/
    ├── internal/
    │   └── manifest/
    │       ├── version.go
    │       └── version_edit.go
    ├── sstable/
    │   ├── reader.go
    │   ├── shared.go
    │   └── shared_test.go
    ├── compaction.go
    ├── disagg_test.go
    └── ingest.go

More implementation details can be found in sharedsst.md in the latest commit.

itsbilal and others added 6 commits August 16, 2022 21:56
internal/cache: Implement secondary cache
Note: this commit changes the first SeqNum from 1 to 4
(sstable.SeqNumStart) and the zero SeqNum from 0 to 3
(sstable.SeqNumZero). The zero SeqNum is used in compactions where a key
has no underneath keys, for better compression (see maybeZeroSeqnum).
A special case is ingestion where the input table still needs to have
SeqNum = 0.
@cockroach-teamcity

Copy link
Copy Markdown
Member

This change is Reviewable

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.

3 participants