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

coord: Don't count subsources for resource limits #15958

Merged
merged 1 commit into from Nov 8, 2022

Conversation

jkosh44
Copy link
Contributor

@jkosh44 jkosh44 commented Nov 8, 2022

f650ffb excluded counting subsources when counting new sources to create. However, it still included subsources when counting how many sources already exist. This commit fixes that issue so that subsources are excluded from the count of existing sources.

Motivation

This PR fixes a previously unreported bug.

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered.

  • This PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way) and therefore is tagged with a T-proto label.

  • This PR includes the following user-facing behavior changes:

    • Fixes bug in counting max sources.

@jkosh44 jkosh44 force-pushed the fix-source-count branch 3 times, most recently from ea88e09 to 8fadca2 Compare November 8, 2022 14:50
f650ffb excluded counting subsources
when counting new sources to create. However, it still included
subsources when counting how many sources already exist. This commit
fixes that issue so that subsources are excluded from the count of
existing sources.
@jkosh44 jkosh44 merged commit 2417ed9 into MaterializeInc:main Nov 8, 2022
@jkosh44 jkosh44 deleted the fix-source-count branch November 8, 2022 16:40
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.

None yet

2 participants