This is an automated email from the ASF dual-hosted git repository.
laiyingchun pushed a change to branch merge_test_branch
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
from 1281c584 chore: Use official apache/pegasus repo on DockerHub (#949)
new 7bba224d Initial commit
new be874530 init
new d72dd50c implement commands framework
new a47a4926 fix comment
new 40e66254 implement list tables
new 68e3f970 support json format of list tables
new cf2a64ff refactor list_tables
new 3974b07d Update README.md
new c4656ad4 complete command use and duplication
new 727b5b08 add command cluster info
new 79a4041d feat: support app-env command
new fc93fec6 fix: fix bugs in app-env and cluster-info
new 324bff16 feat: implement meta_level get
new 81e5a467 refactor: ignore json marshall error
new 72721497 feat: implement create table and drop table
new 1a7ca8f7 feat: support progress bar in create table
new 9ae478e1 feat: implement del and clear app_envs, and auto-complete of
set app envs
new a6ba3839 feat: implement meta level update and auto-complete
new f7536488 feat: refine list table output using generic tabular lib
new ba7e2bdc feat: support printing table stat
new 357255b2 chore: publish artifacts when release
new 9bfaf4df try another means of releasing using github action
new fa791ffe chore: use gitreleaser
new d346cbc0 update collector dep
new 6d58685b fix: unify logrus logger of collector and pegasus-go-client
new f8829668 feat: support formatter for stat value
new d9b9db9c add ci for pull-request
new 5366d545 init
new 05f2ee29 init
new c24280a7 init
new e26b0cac add file save
new 087df73e update
new fd9d6df6 update
new 1e9579ac update
new 5899bebc update
new 767d5c66 update
new 01bada92 update
new 84d59192 update
new b21f2b37 update
new 447db7eb merge
new 41508a69 update
new 3f215665 add gpid serialize test
new 65a5b595 update
new b537a145 update
new f290ed42 update
new dbffe839 update
new b43efd9e add remote command
new e4a45cf6 add remote command
new d4ae741a add remote command
new e8269adc add remote command
new 3512891b add remote command
new 64f8b126 format remote command
new 5ecdc2f5 refomater
new b8ed5b01 feat: add node, disk, server, remote-command related command
new 2824a3a2 doc: update readme and pull-request ci
new 02cc1d75 add recall
new 6454732f add nodes stat
new fc7f66ee add nodes stat
new 2630027d add nodes stat
new 455b80ac add nodes stat
new 3ccef917 update review
new 3e361241 update review
new d4a52ed1 feat: add `recall`, nodes-stat, `app` command (#2)
new 1678eda1 refactor: reimplement remote-command
new c3d4182e refactor: reimplement table-partitions
new 65b545d5 refactor: reimplement list nodes
new 4a4fe5ff fix: add hostname for list_nodes, fix nil pointer panic for
remote_command
new 12cc5b8b fix: Replica() in PegasusNode returns nil
new b5945bfc chore: apply with apache license
new 8bc2e912 fix: typo fixes
new 8e83e674 feat: fails if not table used (#3)
new c41b8787 chore: move modules to github.com/pegasus-kv/admin-cli
new 1122ce94 fix: refine some commands (#4)
new 72aa5c1d feat: refine list_nodes, sequence sorted by node addr, and
displays total nodes count (#5)
new b582ad4a refactor: refactor the node stats (#6)
new 1f614af1 fix: refine table stat (#7)
new d2fa4f89 refactor: reactor the disk info and support resolve host name
(#8)
new 3f4a29a5 feat: support nodes distribution in table-partitions (#9)
new 3a850658 refactor: use tabular template to implement stats (#10)
new fadd412d refactor: reformat the query result and fix some problem (#11)
new d92fdd5e doc: refine docs and command help (#12)
new 89e4c862 feat: support validate the table whether exist when use table
(#13)
new 3a4d5d6b doc: add document/help on some commands (#14)
new a404c1d3 Update README.md
new ecb5ac64 fix: restrict partition num a multiply of 2 (#15)
new 0f8f41c6 fix: upgrade collector dependency to fix stats incorrect
result (#16)
new a84421b2 feat: partition-stat shows abnormal partition (#17)
new e7cd222c chore: fix goreleaser
new 4e36488f refactor: refactor the struct sort and support different
structs (#18)
new cbd57acb chore: add missing licenses (#21)
new 406208b9 fix: print hint of adding duplication (#22)
new c78d08d0 feat: add dup start command (#23)
new 584617b8 fix:read unhealthy count (#24)
new 48a200ca refactor: change the multi rpc send type to async (#20)
new 1aca1f71 fix: remote command supports ip:port as meta addr (#26)
new 943a85ee refactor: update grumble dependency (#27)
new 78edde41 feat: support send http post to update config (#25)
new 4228235e refactor: introduce a general meta api wrapper (#28)
new 5a2f797e refactor: extract api of getting table health (#29)
new 65b35a7e feat: support balance meta api (#30)
new 65b9dcb5 feat: add migrate/downgrade node api (#31)
new c3aa5817 fix: minor fixes on migrate_node
new 72a907cc test: add test for GetTableHealth
new c0c18cf1 feat: add GetClusterReplicaInfo for replica info in cluster
new 1c7e58e5 refactor: admin api supports remote_command
new 67951727 feat: add api to list nodes replica states
new 12aeb57a fix: build failure of server-config & server-info
new 47a3fef4 fix: pass test in replica_health
new 06ac1a8c feat: add backup/restore tools (#32)
new 1d3e76cc feat: migrate-node uses debug-level logging
new 41e6aec4 feat: the stat result support total aggregate (#19)
new 09305dff feat(disk-balance): init framework for adding disk balance
automatically(1/3) (#37)
new af114f11 feat(disk-balance): implement framework for adding disk
balance automatically(2/3) (#38)
new 19335d6f feat(disk-balance): complete framework for adding disk
balance automatically(3/3) (#39)
new 32fdc8a8 fix (#40) update the release version #40
new 7f09e9c4 feat: add command for user specified compaction (#43)
new 00e63c5e fix: update server config support timeout (#44)
new 8d7ac3f0 fix: fix bugs of server-config (#45)
new 30041f45 feat: support partition split related commands (#46)
new a4915cb8 fix: fix bug in user specified compaction (#47)
new 88a5ff88 fix: server-config not support bool value (#48)
new 6c9a990c feat: support add_disk rpc (#49)
new 7bc4eb48 feat(nodes-migrator 1/4): the first framework step of migrate
nodes (#50)
new 5256171f feat(nodes-migrator 2/4): implement the migrator.run function
(#51)
new e57f2b76 feat(nodes-migrator 3/4): implement sync nodes info (#52)
new 21b32e20 feat(nodes-migrator 4/4): implement the migrate task submit
(#53)
new 5d13d301 refactor(nodes-migratot): support the multi target node
execute the migrate task (#54)
new 39207256 feat: support bulk load rpc (#55)
new 28c7befe feat: partition split support sub-cmd (#56)
new 22464c48 feat: support disk check before partition split (#57)
new 35be8b19 refactor: update too many stdout log (#59)
new 2cf08498 feature: support batch migrate multi tables (#60)
new 3b1eaf10 feat: add a function to query nodes info (#61)
new ffdde60a feat: support manual compaction rpc (#58)
new f74a37b0 feat: support single migrate to target (#62)
new f212c664 fix: auto balance copnfig is invalid (#63)
new 936fbdf2 build: update release version to 1.2.0 (#64)
new 5d8b7a19 fix: dependency alert (#65)
new 9e3a4f87 feat: move main files to subdirectory admin-cli (#66)
new 7c7f1b4e merge pegasus-kv/admin-cli repo
new 070d59e1 resolve merge issues
new 9c1fdd9f Merge pull request #956 from acelyc111/merge_admincli
The 765 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.asf.yaml | 3 +-
.github/pull_request_template.md | 19 -
.github/workflows/ci-pull-request-always-pass.yaml | 4 +-
.github/workflows/ci-pull-request.yaml | 4 +-
...{ci-pull-request-title.yaml => cross-build.yml} | 31 +-
..._linter.yml => pull-request-go-always-pass.yml} | 23 +-
.../{dockerfile_linter.yml => pull-request-go.yml} | 39 +-
.gitignore | 4 +
.../docker-compose.yml => .golangci.yml | 32 +-
.licenserc.yaml | 2 +
.gitmodules => admin-cli/.goreleaser.yml | 17 +-
admin-cli/Makefile | 24 +
admin-cli/README.md | 99 +++
.../check_and_format.sh | 30 +-
admin-cli/client/fake_cluster_test.go | 167 +++++
admin-cli/client/fake_meta_test.go | 255 +++++++
admin-cli/client/meta.go | 627 +++++++++++++++++
admin-cli/client/migrate_node.go | 185 +++++
admin-cli/client/migrate_node_test.go | 104 +++
.../brief_stat.h => admin-cli/client/options.go | 11 +-
admin-cli/client/remote_command.go | 102 +++
admin-cli/client/replica_health.go | 163 +++++
admin-cli/client/replica_health_test.go | 127 ++++
admin-cli/cmd/backup_restore.go | 125 ++++
admin-cli/cmd/bulk_load.go | 143 ++++
.../cmd/cluster_info.go | 22 +-
admin-cli/cmd/compaction.go | 71 ++
admin-cli/cmd/create_table.go | 57 ++
admin-cli/cmd/disk_balance.go | 67 ++
admin-cli/cmd/disk_info.go | 82 +++
admin-cli/cmd/drop_table.go | 67 ++
admin-cli/cmd/duplication.go | 100 +++
.../upgrader_registry.cpp => admin-cli/cmd/init.go | 23 +-
.../cmd/list_nodes.go | 21 +-
.../cmd/list_tables.go | 31 +-
admin-cli/cmd/manual_compaction.go | 81 +++
admin-cli/cmd/meta_level.go | 77 +++
.../job.cpp => admin-cli/cmd/node_stat.go | 34 +-
admin-cli/cmd/nodes_migrator.go | 57 ++
admin-cli/cmd/partition_split.go | 131 ++++
.../cmd/partition_stat.go | 27 +-
admin-cli/cmd/recall_table.go | 57 ++
admin-cli/cmd/remote_command.go | 72 ++
admin-cli/cmd/server_config.go | 96 +++
.../cmd/server_info.go | 23 +-
admin-cli/cmd/table_env.go | 110 +++
.../cmd/table_partition.go | 27 +-
.../cmd/table_stat.go | 22 +-
admin-cli/cmd/use_table.go | 82 +++
.../cmd/utils.go | 19 +-
admin-cli/executor/backup_restore.go | 129 ++++
admin-cli/executor/bulk_load.go | 383 +++++++++++
admin-cli/executor/client.go | 69 ++
.../executor/cluster_info.go | 23 +-
admin-cli/executor/compaction.go | 191 ++++++
admin-cli/executor/create_table.go | 78 +++
admin-cli/executor/disk_balance.go | 384 +++++++++++
admin-cli/executor/disk_info.go | 215 ++++++
.../executor/drop_table.go | 20 +-
admin-cli/executor/duplication.go | 59 ++
admin-cli/executor/list_nodes.go | 153 +++++
admin-cli/executor/list_tables.go | 105 +++
.../executor/manual_compaction.go | 30 +-
admin-cli/executor/meta_level.go | 59 ++
admin-cli/executor/nodes_stat.go | 97 +++
admin-cli/executor/partition_split.go | 163 +++++
admin-cli/executor/partition_stat.go | 100 +++
.../executor/recall_table.go | 29 +-
admin-cli/executor/remote_command.go | 64 ++
admin-cli/executor/server_config.go | 234 +++++++
admin-cli/executor/server_info.go | 68 ++
admin-cli/executor/table_env.go | 86 +++
admin-cli/executor/table_partitions.go | 112 +++
admin-cli/executor/table_stat.go | 118 ++++
.../executor/toolkits/nodesmigrator/action.go | 92 +++
.../executor/toolkits/nodesmigrator/log.go | 30 +-
.../executor/toolkits/nodesmigrator/manager.go | 128 ++++
.../executor/toolkits/nodesmigrator/migrator.go | 346 ++++++++++
admin-cli/executor/toolkits/nodesmigrator/nodes.go | 134 ++++
.../executor/use_table.go | 32 +-
admin-cli/go.mod | 49 ++
admin-cli/go.sum | 764 +++++++++++++++++++++
admin-cli/main.go | 58 ++
.../rand.cpp => admin-cli/shell/context.go | 48 +-
.../client_factory.cpp => admin-cli/shell/shell.go | 32 +-
admin-cli/tabular/printer.go | 105 +++
admin-cli/tabular/template.go | 241 +++++++
admin-cli/util/common_utils.go | 74 ++
admin-cli/util/pegasus_node.go | 213 ++++++
admin-cli/util/perf_counter.go | 72 ++
90 files changed, 8907 insertions(+), 276 deletions(-)
copy .github/workflows/{ci-pull-request-title.yaml => cross-build.yml} (63%)
copy .github/workflows/{dockerfile_linter.yml =>
pull-request-go-always-pass.yml} (79%)
copy .github/workflows/{dockerfile_linter.yml => pull-request-go.yml} (61%)
copy docker/pegasus-docker-compose/docker-compose.yml => .golangci.yml (69%)
copy .gitmodules => admin-cli/.goreleaser.yml (82%)
create mode 100644 admin-cli/Makefile
create mode 100644 admin-cli/README.md
copy docker/pegasus-docker-compose/clear_onebox.sh =>
admin-cli/check_and_format.sh (65%)
create mode 100644 admin-cli/client/fake_cluster_test.go
create mode 100644 admin-cli/client/fake_meta_test.go
create mode 100644 admin-cli/client/meta.go
create mode 100644 admin-cli/client/migrate_node.go
create mode 100644 admin-cli/client/migrate_node_test.go
copy src/server/brief_stat.h => admin-cli/client/options.go (82%)
create mode 100644 admin-cli/client/remote_command.go
create mode 100644 admin-cli/client/replica_health.go
create mode 100644 admin-cli/client/replica_health_test.go
create mode 100644 admin-cli/cmd/backup_restore.go
create mode 100644 admin-cli/cmd/bulk_load.go
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/cmd/cluster_info.go (67%)
create mode 100644 admin-cli/cmd/compaction.go
create mode 100644 admin-cli/cmd/create_table.go
create mode 100644 admin-cli/cmd/disk_balance.go
create mode 100644 admin-cli/cmd/disk_info.go
create mode 100644 admin-cli/cmd/drop_table.go
create mode 100644 admin-cli/cmd/duplication.go
copy src/test/upgrade_test/upgrader_registry.cpp => admin-cli/cmd/init.go (68%)
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/cmd/list_nodes.go (68%)
copy src/client_lib/client_factory.cpp => admin-cli/cmd/list_tables.go (59%)
create mode 100644 admin-cli/cmd/manual_compaction.go
create mode 100644 admin-cli/cmd/meta_level.go
copy src/test/upgrade_test/job.cpp => admin-cli/cmd/node_stat.go (67%)
create mode 100644 admin-cli/cmd/nodes_migrator.go
create mode 100644 admin-cli/cmd/partition_split.go
copy src/client_lib/client_factory.cpp => admin-cli/cmd/partition_stat.go (64%)
create mode 100644 admin-cli/cmd/recall_table.go
create mode 100644 admin-cli/cmd/remote_command.go
create mode 100644 admin-cli/cmd/server_config.go
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/cmd/server_info.go (67%)
create mode 100644 admin-cli/cmd/table_env.go
copy src/client_lib/client_factory.cpp => admin-cli/cmd/table_partition.go
(64%)
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/cmd/table_stat.go (68%)
create mode 100644 admin-cli/cmd/use_table.go
copy src/test/upgrade_test/upgrader_registry.cpp => admin-cli/cmd/utils.go
(68%)
create mode 100644 admin-cli/executor/backup_restore.go
create mode 100644 admin-cli/executor/bulk_load.go
create mode 100644 admin-cli/executor/client.go
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/executor/cluster_info.go (70%)
create mode 100644 admin-cli/executor/compaction.go
create mode 100644 admin-cli/executor/create_table.go
create mode 100644 admin-cli/executor/disk_balance.go
create mode 100644 admin-cli/executor/disk_info.go
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/executor/drop_table.go (74%)
create mode 100644 admin-cli/executor/duplication.go
create mode 100644 admin-cli/executor/list_nodes.go
create mode 100644 admin-cli/executor/list_tables.go
copy src/client_lib/client_factory.cpp =>
admin-cli/executor/manual_compaction.go (55%)
create mode 100644 admin-cli/executor/meta_level.go
create mode 100644 admin-cli/executor/nodes_stat.go
create mode 100644 admin-cli/executor/partition_split.go
create mode 100644 admin-cli/executor/partition_stat.go
copy src/client_lib/client_factory.cpp => admin-cli/executor/recall_table.go
(64%)
create mode 100644 admin-cli/executor/remote_command.go
create mode 100644 admin-cli/executor/server_config.go
create mode 100644 admin-cli/executor/server_info.go
create mode 100644 admin-cli/executor/table_env.go
create mode 100644 admin-cli/executor/table_partitions.go
create mode 100644 admin-cli/executor/table_stat.go
create mode 100644 admin-cli/executor/toolkits/nodesmigrator/action.go
copy src/test/upgrade_test/upgrader_registry.cpp =>
admin-cli/executor/toolkits/nodesmigrator/log.go (70%)
create mode 100644 admin-cli/executor/toolkits/nodesmigrator/manager.go
create mode 100644 admin-cli/executor/toolkits/nodesmigrator/migrator.go
create mode 100644 admin-cli/executor/toolkits/nodesmigrator/nodes.go
copy src/client_lib/client_factory.cpp => admin-cli/executor/use_table.go (63%)
create mode 100644 admin-cli/go.mod
create mode 100644 admin-cli/go.sum
create mode 100644 admin-cli/main.go
copy src/test/bench_test/rand.cpp => admin-cli/shell/context.go (52%)
copy src/client_lib/client_factory.cpp => admin-cli/shell/shell.go (57%)
create mode 100644 admin-cli/tabular/printer.go
create mode 100644 admin-cli/tabular/template.go
create mode 100644 admin-cli/util/common_utils.go
create mode 100644 admin-cli/util/pegasus_node.go
create mode 100644 admin-cli/util/perf_counter.go
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]