Skip to content

remove the dolt archive command - #11217

Merged
macneale4 merged 1 commit into
mainfrom
macneale4-claude/remove-archive
Jun 16, 2026
Merged

remove the dolt archive command#11217
macneale4 merged 1 commit into
mainfrom
macneale4-claude/remove-archive

Conversation

@macneale4

Copy link
Copy Markdown
Contributor

The dolt archive command was a precursor to GC support using archives. It offered the ability to test and roll back is problems arose. Now that archives are the default and have been for awhile, this command seems unnecessary.

The standalone 'dolt archive' command is obsolete; archives are now
produced by garbage collection via 'dolt gc --archive-level'. Remove the
command and the storage-layer build/revert entry points it was the sole
caller of.

- Delete commands/archive.go and its two registrations.
- Remove nbs.BuildArchive/UnArchive and the private chain they exclusively
  reached (archiveSingleBlockStore, convertTableFileToArchive,
  writeDataToArchive, gatherAllChunks, verifyAllChunks, etc.).
- Keep the chunk-grouping machinery (ChunkRelations, chunkGroup) for future
  --archive-level 2 support, along with buildDictionary and
  indexFinalizeFlushArchive which remain in use.
- Drop the command-specific bats tests; migrate tests that used the command
  only as setup to 'dolt gc --archive-level'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coffeegoddd

Copy link
Copy Markdown
Contributor

@macneale4 DOLT

read_tests from_latency to_latency percent_change
covering_index_scan 2.3 2.3 0.0
groupby_scan 142.39 142.39 0.0
index_join 2.03 2.0 -1.48
index_join_scan 1.34 1.37 2.24
index_scan 215.44 215.44 0.0
oltp_point_select 0.24 0.25 4.17
oltp_read_only 4.91 5.0 1.83
select_random_points 0.55 0.55 0.0
select_random_ranges 0.63 0.63 0.0
table_scan 200.47 200.47 0.0
types_table_scan 450.77 467.3 3.67
write_tests from_latency to_latency percent_change
oltp_delete_insert 6.21 6.21 0.0
oltp_insert 3.13 3.13 0.0
oltp_read_write 11.24 11.24 0.0
oltp_update_index 3.3 3.3 0.0
oltp_update_non_index 3.02 3.02 0.0
oltp_write_only 6.32 6.32 0.0
types_delete_insert 6.79 6.91 1.77

@coffeegoddd

Copy link
Copy Markdown
Contributor

@macneale4 DOLT

comparing_percentages
100.000000 to 100.000000
version result total
6218f4d ok 5937471
version total_tests
6218f4d 5937471
correctness_percentage
100.0

@coffeegoddd

Copy link
Copy Markdown
Contributor

@macneale4 DOLT

test_name from_latency_p95 to_latency_p95 percent_change
tpcc-scale-factor-1 44.98 45.79 1.8
test_name from_server_name from_server_version from_tps to_server_name to_server_version to_tps percent_change
tpcc-scale-factor-1 dolt a16fe3b 52.74 dolt 6218f4d 52.95 0.4

@macneale4
macneale4 requested a review from reltuk June 16, 2026 17:29

@reltuk reltuk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@macneale4
macneale4 merged commit 72e8323 into main Jun 16, 2026
40 of 43 checks passed
@macneale4
macneale4 deleted the macneale4-claude/remove-archive branch June 16, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants