Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[27.x backport] build: create distinct history db for each store #48688

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

thaJeztah
Copy link
Member

- What I did

Update build controller logic so it"s using a distinct db for each type of store:

  • history.db for graphdriver
  • history_c8d.db for containerd snapshotter

As follow-up in BuildKit we should prune records that have missing blobs.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: CrazyMax <[email protected]>
(cherry picked from commit 58f4e91)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added area/builder status/2-code-review area/builder/buildkit Issues affecting buildkit containerd-integration Issues and PRs related to containerd integration labels Oct 17, 2024
@thaJeztah thaJeztah added this to the 27.4.0 milestone Oct 17, 2024
@thaJeztah thaJeztah self-assigned this Oct 17, 2024
@thaJeztah thaJeztah requested a review from tonistiigi as a code owner October 17, 2024 20:52
@thaJeztah thaJeztah changed the title [27.x backport[ build: create distinct history db for each store [27.x backport] build: create distinct history db for each store Oct 17, 2024
@thaJeztah thaJeztah requested a review from crazy-max October 17, 2024 20:53
@thaJeztah thaJeztah merged commit a5555a9 into moby:27.x Oct 18, 2024
156 of 161 checks passed
@thaJeztah thaJeztah deleted the 27.x_backport_build_split_history_db branch October 18, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/builder/buildkit Issues affecting buildkit area/builder containerd-integration Issues and PRs related to containerd integration status/2-code-review
Projects
Development

Successfully merging this pull request may close these issues.

4 participants