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

feat: support pg service & pg meta backend in risedev using docker #16662

Merged
merged 6 commits into from May 14, 2024

Conversation

yezizp2012
Copy link
Contributor

@yezizp2012 yezizp2012 commented May 9, 2024

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

After this PR, we can start risingwave using pg meta backend as well:

./risedev dev meta-1cn-1fe-pg-backend-with-recovery
./risedev dev meta-1cn-1fe-pg-backend

Checklist

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • I have added test labels as necessary. See details.
  • I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features Sqlsmith: Sql feature generation #7934).
  • My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
  • All checks passed in ./risedev check (or alias, ./risedev c)
  • My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)
  • My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

  • My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

@TennyZhuang
Copy link
Collaborator

You don't need to fix typo, it'll be fixed in #16663

Copy link
Member

@BugenZhao BugenZhao left a comment

Choose a reason for hiding this comment

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

Rest LGTM

risedev.yml Show resolved Hide resolved
@BugenZhao BugenZhao requested a review from xxchan May 10, 2024 04:27
@xxchan xxchan changed the title feat: support pg meta backend in risedev using docker feat: support pg service & pg meta backend in risedev using docker May 10, 2024
@yezizp2012 yezizp2012 marked this pull request as draft May 10, 2024 06:56
@yezizp2012 yezizp2012 force-pushed the feat/risedev-support-pg-meta-backend branch from a9efa0f to 3079434 Compare May 13, 2024 07:15
@yezizp2012 yezizp2012 marked this pull request as ready for review May 13, 2024 07:31
Copy link
Contributor

@fuyufjh fuyufjh left a comment

Choose a reason for hiding this comment

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

LGTM

src/meta/node/src/lib.rs Show resolved Hide resolved
@yezizp2012 yezizp2012 enabled auto-merge May 14, 2024 06:22
@yezizp2012 yezizp2012 added this pull request to the merge queue May 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 14, 2024
@yezizp2012 yezizp2012 added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit 44f990b May 14, 2024
28 of 29 checks passed
@yezizp2012 yezizp2012 deleted the feat/risedev-support-pg-meta-backend branch May 14, 2024 08:00
}
"postgres" => {
let pg_config = config.provide_postgres_backend.as_ref().unwrap();
assert_eq!(pg_config.len(), 1);
Copy link
Member

Choose a reason for hiding this comment

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

Will this assertion fail if we specify multiple postgres services in a profile? For example, one is used for CDC test while the other is for the metadata.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's possible. Let me give it a try and fix it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/run-e2e-single-node-tests need-cherry-pick-release-1.9 Open a cherry-pick PR to branch release-1.8 after the current PR is merged type/feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants