Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feat(*): move workspace snapshots into layerdb#3458

Merged
si-bors-ng[bot] merged 1 commit intomainfrom
move-snapshot-into-layer-cache
Mar 19, 2024
Merged

feat(*): move workspace snapshots into layerdb#3458
si-bors-ng[bot] merged 1 commit intomainfrom
move-snapshot-into-layer-cache

Conversation

@zacharyhamm
Copy link
Copy Markdown
Contributor

@zacharyhamm zacharyhamm commented Mar 19, 2024

Moves storage and fetch of the workspace snapshot into its own layer cache and database (WorkspaceSnapshotDb). This enables us to use an Arc without extra copying when performing read-only graph operations.

Some changes were required to the blocking_commit and commit internals to ensure we perform a rebase even if no transaction has been opened in the Dal Postgres transactions state.

@zacharyhamm
Copy link
Copy Markdown
Contributor Author

bors try

@si-bors-ng
Copy link
Copy Markdown
Contributor

si-bors-ng Bot commented Mar 19, 2024

try

Merge conflict.

@zacharyhamm zacharyhamm force-pushed the move-snapshot-into-layer-cache branch from ed8765b to 5832479 Compare March 19, 2024 19:28
@zacharyhamm
Copy link
Copy Markdown
Contributor Author

bors try

si-bors-ng Bot added a commit that referenced this pull request Mar 19, 2024
@si-bors-ng
Copy link
Copy Markdown
Contributor

si-bors-ng Bot commented Mar 19, 2024

try

Build failed:

Co-Authored-By: Scott Prutton <scott@systeminit.com>
@zacharyhamm zacharyhamm force-pushed the move-snapshot-into-layer-cache branch from 5832479 to d7a9e96 Compare March 19, 2024 19:39
@zacharyhamm
Copy link
Copy Markdown
Contributor Author

bors try

si-bors-ng Bot added a commit that referenced this pull request Mar 19, 2024
@si-bors-ng
Copy link
Copy Markdown
Contributor

si-bors-ng Bot commented Mar 19, 2024

try

Build succeeded:

@zacharyhamm zacharyhamm marked this pull request as ready for review March 19, 2024 19:58
@zacharyhamm
Copy link
Copy Markdown
Contributor Author

bors r+

@si-bors-ng
Copy link
Copy Markdown
Contributor

si-bors-ng Bot commented Mar 19, 2024

Build succeeded:

@si-bors-ng si-bors-ng Bot merged commit faa35ec into main Mar 19, 2024
@si-bors-ng si-bors-ng Bot deleted the move-snapshot-into-layer-cache branch March 19, 2024 20:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant