-
Notifications
You must be signed in to change notification settings - Fork 32
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
partitioned queue tables #116
Merged
Merged
Conversation
This file contains 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
sjmiller609
approved these changes
Feb 16, 2023
ianstanton
approved these changes
Feb 16, 2023
@@ -303,17 +321,73 @@ mod tests { | |||
.expect("SQL select failed"); | |||
assert_eq!(init_count.unwrap(), 0); | |||
} | |||
|
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.
Nice tests here :)
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.
yes, thank you for them :)
sjmiller609
added a commit
that referenced
this pull request
Dec 5, 2023
* saving WIP... does not build * Added in full yaml of cluster * code builds * Set reconcile loop back how it was * Move ingress reconciliation to the end * Add self.cnpg_enabled() * implement finding primary pod of CNPG * fmt * reconcile CNPG * Tests will build * fmt * Bump up wait time on termination test * remove dead code * demo worked * fix justfile * add connector to just file * tidy logs * update code to switch exporter over to cnpg instance when enabled * fmt * add back in cluster topology to status * Add empty struct * add a test * fix * fmt * Tidy justfile * Handle extensions flipping (#125) * Update operator.yaml * Set resources in CNPG and add a test (#126) * Adding basic create test clone for CNPG enabled * Handle setting resources * Install kube-prometheus-stack * Merge instead of apply * Update integration_tests.rs * remove service account from test * fmt * Fix psql command for CNPG and add migration test (#127) * delete comment * add function for waiting for pod * Add migration test * Restart when watcher is done (#128) * Restart when watcher is done * fmt * Only sleep if failure * Actions error handling * fix stop test * Reduce default logging * Increase min sleep time to decrease operator business * Increase reliability of tests fix query Fix await * Decrease log volume * Update coredb-operator/src/extensions.rs * TEM-1284 Add postgres parameter and shared preload libary configuration (#130) * rebase * changes * clippy fixes * initial work to add params from cdb config * adding more debugging * clean up debugging code, add better error handling in patch for cnpg * fmt * adding broken test * adding more tests * finish up pgparams test * fix tests, fix clippy issues * Handle dropping shared_preload_libraries (#129) * cleanup clippy issues * fixing test * Remove restart --------- Co-authored-by: Steven Miller <sjmiller609@gmail.com> * Update .github/workflows/operator.yaml --------- Co-authored-by: Nick Hudson <nick.hudson@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Partition queue tables by
msg_id
.Implementing partition automation with
pg_partman
.We will keep non-partitioned queues around for a while yet.
Thanks for the tip @NikolayS