-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[stable30] Transparent* database sharding #47561
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8eaddbc
feat: track expected output columns in query builder
icewind1991 b1744e7
fix: don't make ICacheFactory depend on database
icewind1991 8f57d46
fix: delay calculating global cache prefix untill a cache is created
icewind1991 4ec53e7
feat: add option to automatically partition queries by specific tables
icewind1991 82d7eaf
feat: implement distributing partitioned queries over multiple shards
icewind1991 ecf1cc2
test: mark share test cleanup as running across all shards
icewind1991 3e51939
fix: only allow pre-defined shards
icewind1991 22f76fc
test: run sharding tests in ci
icewind1991 693ee5e
fix: hint storage id in more places
icewind1991 0e40fa4
fix: run mimetype repair query across all shards
icewind1991 1b6d76a
test: fix share provider tests for sharding
icewind1991 5500723
fix: make background scan job compatible with sharding
icewind1991 ddecae8
fix: adjust systemtag orphan cleanup query to work with sharding
icewind1991 dc5f0f5
fix: fix share cleanup for deleted groups with sharding
icewind1991 b264559
fix: implement sharding compatible cleanup for various bits
icewind1991 57ffbb7
fix: make preload custom proterties sharding compatible
icewind1991 e2bff39
fix: mark systemconfig value as not being tainted because they are im…
icewind1991 e5a8f99
chore: Apply php:cs recommendations
artonge 140b36f
fix: Backport to 30
artonge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: implement distributing partitioned queries over multiple shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
- Loading branch information
commit 82d7eaf80a545d69f99134de5cc08fcf7bd700e7
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We unconditionally create an instance of 'AutoIncrementHandler' which dies on 32 bit already in its constructor, breaking 32bit.
Imo, line 228 and 229 should only be executed, if
$connectionParams['sharding']is not empty.