Skip to content

llbsolver: fix sorting of history records#3733

Merged
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:fix-history-sort
Mar 23, 2023
Merged

llbsolver: fix sorting of history records#3733
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:fix-history-sort

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

The sorting in history GC was wrong. We want a reverse sort so we can skip the N newest records, not the N oldest.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit 1c6a500 into moby:master Mar 23, 2023
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.

2 participants