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

[no-release-notes] go: sqle: dolt_gc: Purge read caches associated with the DoltDB as we begin GC. #8858

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

reltuk
Copy link
Contributor

@reltuk reltuk commented Feb 12, 2025

The right place to do this is in the safepoint controller, at BeginGC. We need to do it after keeperFunc is installed on the NomsBlockStore, so that all read dependencies are taken. We also need to do it before we register all sessions whose cached state we need to visit.

…th the DoltDB as we begin GC.

The right place to do this is in the safepoint controller, at BeginGC. We need
to do it after keeperFunc is installed on the NomsBlockStore, so that all read
dependencies are taken. We also need to do it before we register all sessions
whose cached state we need to visit.
@reltuk reltuk marked this pull request as ready for review February 12, 2025 22:01
@reltuk reltuk requested a review from zachmu February 12, 2025 22:04
@coffeegoddd
Copy link
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
18d7ceb ok 5937457
version total_tests
18d7ceb 5937457
correctness_percentage
100.0

@coffeegoddd
Copy link
Contributor

@coffeegoddd DOLT

comparing_percentages
100.000000 to 100.000000
version result total
6561f45 ok 5937457
version total_tests
6561f45 5937457
correctness_percentage
100.0

@coffeegoddd
Copy link
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
c8353bb ok 5937457
version total_tests
c8353bb 5937457
correctness_percentage
100.0

@coffeegoddd
Copy link
Contributor

@coffeegoddd DOLT

comparing_percentages
100.000000 to 100.000000
version result total
caa1e47 ok 5937457
version total_tests
caa1e47 5937457
correctness_percentage
100.0

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -49,6 +49,8 @@ type NodeStore interface {

BlobBuilder() *BlobBuilder
PutBlobBuilder(*BlobBuilder)

PurgeCaches()
Copy link
Member

Choose a reason for hiding this comment

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

Doc comment

@coffeegoddd
Copy link
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
cd8372b ok 5937457
version total_tests
cd8372b 5937457
correctness_percentage
100.0

@reltuk reltuk merged commit f662a63 into main Feb 14, 2025
21 checks passed
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