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

go/store/nbs: Fix table_index for table files with so many chunks that certain index slice operations overflow a uint32. #8252

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

reltuk
Copy link
Contributor

@reltuk reltuk commented Aug 12, 2024

No description provided.

…t certain index slice operations overflow a uint32.
@reltuk reltuk requested a review from macneale4 August 12, 2024 18:31
Copy link
Contributor

@macneale4 macneale4 left a comment

Choose a reason for hiding this comment

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

Behavior change makes sense. Just curious how long the test run is.

}

// Write Suffixes
for i := uint32(0); i < numChunks; i++ {
Copy link
Contributor

Choose a reason for hiding this comment

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

The three 320M iteration loops raises my eyebrows. How long does this take?

Copy link
Contributor

Choose a reason for hiding this comment

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

And how much memory does this use? Can this be precomputed and checked in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It takes a few seconds to run. I'm not sure how much memory it uses. Somewhere between 4GB and 8GB.

@coffeegoddd
Copy link
Contributor

@reltuk DOLT

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

@coffeegoddd
Copy link
Contributor

@coffeegoddd DOLT

comparing_percentages
100.000000 to 100.000000
version result total
47e0ce7 ok 5937457
version total_tests
47e0ce7 5937457
correctness_percentage
100.0

@coffeegoddd
Copy link
Contributor

@reltuk DOLT

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

@coffeegoddd
Copy link
Contributor

@coffeegoddd DOLT

comparing_percentages
100.000000 to 100.000000
version result total
76cd8a0 ok 5937457
version total_tests
76cd8a0 5937457
correctness_percentage
100.0

@reltuk reltuk merged commit 7ee9b5c into main Aug 12, 2024
21 checks passed
@tbantle22 tbantle22 deleted the aaron/nbs-table-file-index-uint32-overflow branch November 21, 2024 20:58
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.

4 participants