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

Database partition mode Part 2 #6409

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Oct 28, 2024

This is the second in a series of PRs to merge in the new database partition mode code.

This PR is preparation for the actual database partitioning:

  • Change the method parameters on a number of SearchBuilder infrastructure components from Long to JpaPid. For now this change doesn't actually make any functional difference, but it will once we start storing the partition ID in there too.
  • Sever the HFJ_RES_VER_PROV table from the HFJ_RES_VER table (previously these tables had a @OneToOne relationship which doesn't really work well with the way we're doing partitioning. This table has been deprecated for one year now, and upgrade instructions are provided for anyone who has older data stored. As a part of this change, all of the optmistic fetches we previously used to fetch this table have been removed.
  • The ResourceSearchView view has been removed in favour of simply loading the HFJ_RES_VER table directly. This does not affect functionality or performance, but will simplify life when we merge in the final partitioning code.

Copy link

Formatting check succeeded!

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.

1 participant