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

Heap clone refactoring / cleanup #247

Merged
merged 6 commits into from
Aug 14, 2024
Merged

Heap clone refactoring / cleanup #247

merged 6 commits into from
Aug 14, 2024

Conversation

dutow
Copy link
Collaborator

@dutow dutow commented Aug 5, 2024

This pull requests adds a new helper script, and moves our modified heap AM from the "src" to the "src16" directory.

It also contains more cleanup (removal of old no longer needed comments/changes, and fixing of a missing previous heap commit).

As these are multiple, but related changes the pull request contains multiple commits. Instead of reviewing it all together please review the individual commit messages and review the commits one by one, as that makes more sense in this case, but I don't one to split it into even more pull requests.

@dutow dutow force-pushed the pg16move branch 2 times, most recently from 0a7ec76 to 9405aaa Compare August 5, 2024 19:02
@@ -0,0 +1,73 @@
/*-------------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

Does this have to be here? Looks like a dup of include/storage/read_stream.h

@@ -0,0 +1,73 @@
/*-------------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

I don't see any usage of this header file anywhere in the code. Is this something for the future?

@dutow dutow mentioned this pull request Aug 7, 2024
This commit just removed old no longer needed comments, and fixes
a few inconsistent naming issues so the diff between upstream and
our code is minimal (after running the sed script to process
upstream code)
Recent commits in the PG17 code added additional API changes,
making the "single src directory with ifdefs" approach inpractical.

This commit adds a new python based script (documented with comments
in the file) to help with version specific merges, where the copied
heap files reside in srcXX directories, where XX is the version.
@dutow dutow merged commit 1b184bf into percona:main Aug 14, 2024
11 checks passed
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