starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[Enhancement] Validate replica number by BE count in CREATE/ALTER TABLE (backport #9555)

Open mergify[bot] opened this issue 2 years ago • 4 comments

This is an automatic backport of pull request #9555 done by Mergify. Cherry-pick of 057ab87329b954bc75a30cac0aff66839b412897 has failed:

On branch mergify/bp/branch-2.4/pr-9555
Your branch is up to date with 'origin/branch-2.4'.

You are currently cherry-picking commit 057ab8732.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   fe/fe-core/src/main/java/com/starrocks/common/util/PropertyAnalyzer.java
	modified:   fe/fe-core/src/test/java/com/starrocks/alter/AlterTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/catalog/ColocateTableTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/catalog/ListPartitionDescTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/catalog/ListPartitionInfoTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/catalog/MultiListPartitionDescTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/catalog/SingleListPartitionDescTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/qe/ShowExecutorTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/sql/analyzer/AnalyzeAlterTableStatementTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/sql/analyzer/CTASAnalyzerTest.java
	modified:   fe/fe-core/src/test/java/com/starrocks/sql/analyzer/PrivilegeCheckerTest.java

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   fe/fe-core/src/test/java/com/starrocks/catalog/CreateTableTest.java

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

mergify[bot] avatar Aug 10 '22 12:08 mergify[bot]

run starrocks_tscancode

waittttting avatar Aug 10 '22 12:08 waittttting

run starrocks_fe_unittest

waittttting avatar Aug 10 '22 12:08 waittttting

run all

waittttting avatar Aug 10 '22 13:08 waittttting

run all

waittttting avatar Aug 11 '22 02:08 waittttting