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

partitioned queue tables #116

Merged
merged 28 commits into from
Feb 16, 2023
Merged

partitioned queue tables #116

merged 28 commits into from
Feb 16, 2023

Conversation

ChuckHend
Copy link
Collaborator

@ChuckHend ChuckHend commented Feb 15, 2023

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

@ChuckHend ChuckHend changed the title wip partman partitioned queue tables Feb 15, 2023
@ChuckHend ChuckHend marked this pull request as ready for review February 16, 2023 14:47
@ChuckHend ChuckHend requested a review from ryw as a code owner February 16, 2023 14:47
@@ -303,17 +321,73 @@ mod tests {
.expect("SQL select failed");
assert_eq!(init_count.unwrap(), 0);
}

Copy link
Member

Choose a reason for hiding this comment

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

Nice tests here :)

Copy link
Collaborator Author

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 :)

@ChuckHend ChuckHend merged commit aed0034 into main Feb 16, 2023
@ChuckHend ChuckHend deleted the pgmq/tableConfig branch February 16, 2023 17:00
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants