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

[Doc] Revise Backup Restore according to feedback (backport #53738) #53818

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 9 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ PointerAlignment: Left
ReflowComments: false
SortUsingDeclarations: false
SpacesBeforeTrailingComments: 1
<<<<<<< HEAD
AllowShortFunctionsOnASingleLine: Inline
=======
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
---
Language: Java
BasedOnStyle: Google
Expand All @@ -29,3 +32,9 @@ PointerAlignment: Left
ReflowComments: false
SortUsingDeclarations: false
SpacesBeforeTrailingComments: 1
<<<<<<< HEAD
=======
---
Language: Proto
BasedOnStyle: Google
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
17 changes: 17 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
Checks: >
-*,
cppcoreguidelines-virtual-class-destructor,
<<<<<<< HEAD
modernize-avoid-bind,
modernize-concat-nested-namespaces,
modernize-deprecated-headers,
modernize-deprecated-ios-base-aliases,
modernize-loop-convert,
=======
modernize-concat-nested-namespaces,
modernize-deprecated-headers,
modernize-deprecated-ios-base-aliases,
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
modernize-make-shared,
modernize-make-unique,
modernize-pass-by-value,
Expand All @@ -15,10 +21,16 @@ Checks: >
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-replace-random-shuffle,
<<<<<<< HEAD
modernize-return-braced-init-list,
modernize-shrink-to-fit,
modernize-unary-static-assert,
modernize-use-auto,
=======
-modernize-return-braced-init-list,
modernize-shrink-to-fit,
modernize-unary-static-assert,
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-emplace,
Expand All @@ -40,3 +52,8 @@ Checks: >
performance-type-promotion-in-math-fn,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
<<<<<<< HEAD
=======

WarningsAsErrors: '*'
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
135 changes: 134 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,14 +1,147 @@
# committer will be the owner of all codes
* @StarRocks/starrocks-committer

<<<<<<< HEAD
# /docs/ belong to docs-maintainer
/docs/ @StarRocks/docs-maintainer

=======
# cpp miscellaneous
/be/src/common/ @StarRocks/cpp-misc-maintainer
/be/src/gen_cpp/ @StarRocks/cpp-misc-maintainer
/be/src/gutil/ @StarRocks/cpp-misc-maintainer
/be/src/simd/ @StarRocks/cpp-misc-maintainer
/be/src/testutil/ @StarRocks/cpp-misc-maintainer
/be/src/util/ @StarRocks/cpp-misc-maintainer

# execution engine
/be/src/column/ @StarRocks/execution-maintainer
/be/src/exec/ @StarRocks/execution-maintainer
/be/src/exprs/ @StarRocks/execution-maintainer
/be/src/runtime/ @StarRocks/execution-maintainer
/be/src/types/ @StarRocks/execution-maintainer
/be/src/udf/ @StarRocks/execution-maintainer

# open formats
/be/src/formats/ @StarRocks/open-format-maintainer

# storage engine
/be/src/fs/ @StarRocks/storage-maintainer
/be/src/io/ @StarRocks/storage-maintainer
/be/src/storage/ @StarRocks/storage-maintainer

# /docs/ belong to docs-maintainer
/docs/ @StarRocks/docs-maintainer

# /docker
/docker/ @StarRocks/docker-maintainer

# metadata
/fe/fe-core/src/main/java/com/starrocks/authentication/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/privilege/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/common/util/concurrent/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/mysql/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/transaction/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/healthchecker/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/clone/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/consistency/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/ha/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/journal/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/leader/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/meta/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/persist/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/alter/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/backup/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/catalog/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/metric/ @StarRocks/metadata-maintainer
/fe/fe-core/src/main/java/com/starrocks/system/ @StarRocks/metadata-maintainer

# connector
/fe/fe-core/src/main/java/com/starrocks/connector/ @StarRocks/connector-maintainer
/fe/fe-core/src/main/java/com/starrocks/credential/ @StarRocks/connector-maintainer

# parser
/fe/fe-core/src/main/java/com/starrocks/sql/ast/ @StarRocks/parser
/fe/fe-core/src/main/java/com/starrocks/sql/parser/ @StarRocks/parser

# analyzer
/fe/fe-core/src/main/java/com/starrocks/sql/analyzer/ @StarRocks/analyzer
/fe/fe-core/src/main/java/com/starrocks/analysis/ @StarRocks/analyzer

# optimizer
/fe/fe-core/src/main/java/com/starrocks/sql/optimizer/ @StarRocks/optimizer
/fe/fe-core/src/main/java/com/starrocks/statistic/ @StarRocks/optimizer

# scheduler
/fe/fe-core/src/main/java/com/starrocks/qe/scheduler/ @StarRocks/scheduler-maintainer

>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
# sql/parser/StarRocksLex.g4 sql/parser/StarRocks.g4 belong to syntax-committer
/fe/fe-core/src/main/java/com/starrocks/sql/parser/StarRocksLex.g4 @StarRocks/syntax-committer
/fe/fe-core/src/main/java/com/starrocks/sql/parser/StarRocks.g4 @StarRocks/syntax-committer
/gensrc/script/functions.py @StarRocks/syntax-committer

# /thirdparty/ /docker/dockerfiles/dev-env/dev-env.Dockerfile belong to thirdparty-maintainer
<<<<<<< HEAD
/thirdparty/ @StarRocks/thirdparty-maintainer
/docker/dockerfiles/dev-env/dev-env.Dockerfile @StarRocks/thirdparty-maintainer
=======
/be/src/thirdparty/ @StarRocks/thirdparty-maintainer
/thirdparty/ @StarRocks/thirdparty-maintainer
/docker/dockerfiles/dev-env/dev-env.Dockerfile @StarRocks/thirdparty-maintainer
/docker/dockerfiles/dev-env/dev-env.Dockerfile @StarRocks/thirdparty-maintainer

# cloud native
/be/src/storage/lake/ @StarRocks/cloud-native-maintainer
/be/src/runtime/lake_tablets_channel.h @StarRocks/cloud-native-maintainer
/be/src/runtime/lake_tablets_channel.cpp @StarRocks/cloud-native-maintainer

# error message
/fe/fe-core/src/main/java/com/starrocks/common/ErrorCode.java @StarRocks/msg-reviewer

# StorageEngine/ExecEnv/GlobalEnv
/be/src/runtime/exec_env.h @StarRocks/thread-committer
/be/src/runtime/exec_env.cpp @StarRocks/thread-committer
/be/src/storage/olap_server.cpp @StarRocks/thread-committer
/be/src/storage/storage_engine.h @StarRocks/thread-committer
/be/src/storage/storage_engine.cpp @StarRocks/thread-committer
/be/src/service/starrocks_main.cpp @StarRocks/thread-committer
/be/src/service/service_be/starrocks_be.cpp @StarRocks/thread-committer

# restful
/fe/fe-core/src/main/java/com/starrocks/http @StarRocks/restful-maintainer
/be/src/http @StarRocks/restful-maintainer


# load and unload
/fe/fe-core/src/main/java/com/starrocks/load/* @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/plan/StreamLoad* @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/plan/*Sink.java @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/sql/InsertPlanner.java @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/sql/LoadPlanner.java @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/backup/* @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/alter/Optimize* @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/alter/Compaction* @StarRocks/load-unload-maintainer
/fe/fe-core/src/main/java/com/starrocks/catalog/*Partition* @StarRocks/load-unload-maintainer

/be/src/storage/* @StarRocks/load-unload-maintainer
/be/src/exec/tablet_sink* @StarRocks/load-unload-maintainer
/be/src/exec/csv_scanner.cpp @StarRocks/load-unload-maintainer
/be/src/exec/json_scanner.cpp @StarRocks/load-unload-maintainer
/be/src/exec/pipeline/olap_table_sink_operator.cpp @StarRocks/load-unload-maintainer
/be/src/formats/avro/* @StarRocks/load-unload-maintainer
/be/src/formats/csv/* @StarRocks/load-unload-maintainer
/be/src/formats/json/* @StarRocks/load-unload-maintainer
/be/src/http/action/compaction_action.cpp @StarRocks/load-unload-maintainer
/be/src/http/action/*stream_load.cpp @StarRocks/load-unload-maintainer
/be/src/http/action/restore* @StarRocks/load-unload-maintainer
/be/src/runtime/routine_load/* @StarRocks/load-unload-maintainer
/be/src/runtime/stream_load/* @StarRocks/load-unload-maintainer
/be/src/runtime/load* @StarRocks/load-unload-maintainer
/be/src/runtime/tablets_channel.cpp @StarRocks/load-unload-maintainer
/be/src/runtime/export_sink.cpp @StarRocks/load-unload-maintainer

# meta upgrade/downgrade compatibility
/fe/fe-core/src/main/java/com/starrocks/persist/gson/GsonUtils.java @StarRocks/meta-compatibility-maintainer


>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Need help or have a question?
url: https://join.slack.com/t/starrocks/shared_invite/zt-z5zxqr0k-U5lrTVlgypRIV8RbnCIAzg
about: Visit our slack channel.
38 changes: 38 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
<<<<<<< HEAD
Fixes #issue

## What type of PR is this:
=======
## Why I'm doing:

## What I'm doing:

Fixes #issue

## What type of PR is this:

>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
- [ ] BugFix
- [ ] Feature
- [ ] Enhancement
Expand All @@ -9,16 +20,43 @@ Fixes #issue
- [ ] Doc
- [ ] Tool

<<<<<<< HEAD
## Checklist:
- [ ] I have added test cases for my bug fix or my new feature
- [ ] This pr will affect users' behaviors
=======
Does this PR entail a change in behavior?

- [x] Yes, this PR will result in a change in behavior.
- [ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

- [ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
- [ ] Parameter changes: default values, similar parameters but with different default values
- [ ] Policy changes: use new policy to replace old one, functionality automatically enabled
- [ ] Feature removed
- [ ] Miscellaneous: upgrade & downgrade compatibility, etc.

## Checklist:

- [ ] I have added test cases for my bug fix or my new feature
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
- [ ] This pr needs user documentation (for new or modified features or behaviors)
- [ ] I have added documentation for my new feature or new function
- [ ] This is a backport pr

## Bugfix cherry-pick branch check:
- [ ] I have checked the version labels which the pr will be auto-backported to the target branch
<<<<<<< HEAD
- [ ] 3.1
- [ ] 3.0
- [ ] 2.5
- [ ] 2.4
=======
- [ ] 3.4
- [ ] 3.3
- [ ] 3.2
- [ ] 3.1
- [ ] 3.0
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
5 changes: 4 additions & 1 deletion .github/workflows/approve-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
run: |
rm -rf ./ci-tool && cp -rf /var/lib/ci-tool ./ci-tool && cd ci-tool && git pull >/dev/null
./scripts/check-approve.sh
<<<<<<< HEAD

feature-review:
needs: info
Expand All @@ -110,4 +111,6 @@ jobs:
- name: FEATURE-REVIEW
run: |
rm -rf ./ci-tool && cp -rf /var/lib/ci-tool ./ci-tool && cd ci-tool && git pull >/dev/null
./scripts/check-approve.sh
./scripts/check-approve.sh
=======
>>>>>>> edd5009ce6 ([Doc] Revise Backup Restore according to feedback (#53738))
50 changes: 50 additions & 0 deletions .github/workflows/ci-comment-tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI COMMENT TOOLS

on:
issue_comment:
types: [ created ]

jobs:

close:
name: CLOSE PR
runs-on: ubuntu-latest
if: >
contains(github.event.issue.pull_request.html_url, 'pull') &&
(contains(github.event.comment.body, '@Mergify close') ||
contains(github.event.comment.body, '@Mergifyio close'))

env:
PR_NUMBER: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.PAT }}

steps:
- name: CLOSE
run: |
gh pr close ${PR_NUMBER} -R ${{ github.repository }} -c "PR was manually closed."

automerge:
name: AutoMerge PR
runs-on: ubuntu-latest
if: >
contains(github.event.issue.pull_request.html_url, 'pull') &&
contains(github.event.comment.body, '@Mergify automerge')

env:
PR_NUMBER: ${{ github.event.issue.number }}

steps:
- name: BASE REF
id: get_base_ref
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
base_ref=$(gh pr view ${PR_NUMBER} -R ${{ github.repository }} --json baseRefName | jq -r '.baseRefName')
echo "base_ref=${base_ref}" >> $GITHUB_OUTPUT

- name: AutoMerge
if: startsWith(steps.get_base_ref.outputs.base_ref, 'mergify/bp')
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
gh pr merge ${PR_NUMBER} -R ${{ github.repository }} -s --auto
Loading
Loading