This is an automated email from the ASF dual-hosted git repository.

laiyingchun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


    from 1281c584 chore: Use official apache/pegasus repo on DockerHub (#949)
     add 7bba224d Initial commit
     add be874530 init
     add d72dd50c implement commands framework
     add a47a4926 fix comment
     add 40e66254 implement list tables
     add 68e3f970 support json format of list tables
     add cf2a64ff refactor list_tables
     add 3974b07d Update README.md
     add c4656ad4 complete command use and duplication
     add 727b5b08 add command cluster info
     add 79a4041d feat: support app-env command
     add fc93fec6 fix: fix bugs in app-env and cluster-info
     add 324bff16 feat: implement meta_level get
     add 81e5a467 refactor: ignore json marshall error
     add 72721497 feat: implement create table and drop table
     add 1a7ca8f7 feat: support progress bar in create table
     add 9ae478e1 feat: implement del and clear app_envs, and auto-complete of 
set app envs
     add a6ba3839 feat: implement meta level update and auto-complete
     add f7536488 feat: refine list table output using generic tabular lib
     add ba7e2bdc feat: support printing table stat
     add 357255b2 chore: publish artifacts when release
     add 9bfaf4df try another means of releasing using github action
     add fa791ffe chore: use gitreleaser
     add d346cbc0 update collector dep
     add 6d58685b fix: unify logrus logger of collector and pegasus-go-client
     add f8829668 feat: support formatter for stat value
     add d9b9db9c add ci for pull-request
     add 5366d545 init
     add 05f2ee29 init
     add c24280a7 init
     add e26b0cac add file save
     add 087df73e update
     add fd9d6df6 update
     add 1e9579ac update
     add 5899bebc update
     add 767d5c66 update
     add 01bada92 update
     add 84d59192 update
     add b21f2b37 update
     add 447db7eb merge
     add 41508a69 update
     add 3f215665 add gpid serialize test
     add 65a5b595 update
     add b537a145 update
     add f290ed42 update
     add dbffe839 update
     add b43efd9e add remote command
     add e4a45cf6 add remote command
     add d4ae741a add remote command
     add e8269adc add remote command
     add 3512891b add remote command
     add 64f8b126 format remote command
     add 5ecdc2f5 refomater
     add b8ed5b01 feat: add node, disk, server, remote-command related command
     add 2824a3a2 doc: update readme and pull-request ci
     add 02cc1d75 add recall
     add 6454732f add nodes stat
     add fc7f66ee add nodes stat
     add 2630027d add nodes stat
     add 455b80ac add nodes stat
     add 3ccef917 update review
     add 3e361241 update review
     add d4a52ed1 feat: add `recall`, nodes-stat, `app` command (#2)
     add 1678eda1 refactor: reimplement remote-command
     add c3d4182e refactor: reimplement table-partitions
     add 65b545d5 refactor: reimplement list nodes
     add 4a4fe5ff fix: add hostname for list_nodes, fix nil pointer panic for 
remote_command
     add 12cc5b8b fix: Replica() in PegasusNode returns nil
     add b5945bfc chore: apply with apache license
     add 8bc2e912 fix: typo fixes
     add 8e83e674 feat: fails if not table used (#3)
     add c41b8787 chore: move modules to github.com/pegasus-kv/admin-cli
     add 1122ce94 fix: refine some commands (#4)
     add 72aa5c1d feat: refine list_nodes, sequence sorted by node addr, and 
displays total nodes count (#5)
     add b582ad4a refactor: refactor the node stats (#6)
     add 1f614af1 fix: refine table stat (#7)
     add d2fa4f89 refactor: reactor the disk info and support resolve host name 
(#8)
     add 3f4a29a5 feat: support nodes distribution in table-partitions (#9)
     add 3a850658 refactor: use tabular template to implement stats (#10)
     add fadd412d refactor: reformat the query result and fix some problem (#11)
     add d92fdd5e doc: refine docs and command help (#12)
     add 89e4c862 feat: support validate the table whether exist when use table 
(#13)
     add 3a4d5d6b doc: add document/help on some commands (#14)
     add a404c1d3 Update README.md
     add ecb5ac64 fix: restrict partition num a multiply of 2 (#15)
     add 0f8f41c6 fix: upgrade collector dependency to fix stats incorrect 
result (#16)
     add a84421b2 feat: partition-stat shows abnormal partition (#17)
     add e7cd222c chore: fix goreleaser
     add 4e36488f refactor: refactor the struct sort and support different 
structs (#18)
     add cbd57acb chore: add missing licenses (#21)
     add 406208b9 fix: print hint of adding duplication (#22)
     add c78d08d0 feat: add dup start command (#23)
     add 584617b8 fix:read unhealthy count (#24)
     add 48a200ca refactor: change the multi rpc send type to async (#20)
     add 1aca1f71 fix: remote command supports ip:port as meta addr (#26)
     add 943a85ee refactor: update grumble dependency (#27)
     add 78edde41 feat: support send http post to update config (#25)
     add 4228235e refactor: introduce a general meta api wrapper (#28)
     add 5a2f797e refactor: extract api of getting table health (#29)
     add 65b35a7e feat: support balance meta api (#30)
     add 65b9dcb5 feat: add migrate/downgrade node api (#31)
     add c3aa5817 fix: minor fixes on migrate_node
     add 72a907cc test: add test for GetTableHealth
     add c0c18cf1 feat: add GetClusterReplicaInfo for replica info in cluster
     add 1c7e58e5 refactor: admin api supports remote_command
     add 67951727 feat: add api to list nodes replica states
     add 12aeb57a fix: build failure of server-config & server-info
     add 47a3fef4 fix: pass test in replica_health
     add 06ac1a8c feat: add backup/restore tools (#32)
     add 1d3e76cc feat: migrate-node uses debug-level logging
     add 41e6aec4 feat: the stat result support total aggregate (#19)
     add 09305dff feat(disk-balance):  init framework for adding disk balance 
automatically(1/3) (#37)
     add af114f11 feat(disk-balance): implement framework for adding disk 
balance automatically(2/3) (#38)
     add 19335d6f feat(disk-balance): complete framework for adding disk 
balance automatically(3/3) (#39)
     add 32fdc8a8 fix (#40) update the release version #40
     add 7f09e9c4 feat: add command for user specified compaction (#43)
     add 00e63c5e fix: update server config support timeout (#44)
     add 8d7ac3f0 fix: fix bugs of server-config (#45)
     add 30041f45 feat: support partition split related commands (#46)
     add a4915cb8 fix: fix bug in user specified compaction (#47)
     add 88a5ff88 fix: server-config not support bool value (#48)
     add 6c9a990c feat: support add_disk rpc (#49)
     add 7bc4eb48 feat(nodes-migrator 1/4): the first framework step of migrate 
nodes (#50)
     add 5256171f feat(nodes-migrator 2/4): implement the migrator.run function 
(#51)
     add e57f2b76 feat(nodes-migrator 3/4): implement sync nodes info (#52)
     add 21b32e20 feat(nodes-migrator 4/4): implement the migrate task submit  
(#53)
     add 5d13d301 refactor(nodes-migratot): support the multi target node 
execute the migrate task (#54)
     add 39207256 feat: support bulk load rpc (#55)
     add 28c7befe feat: partition split support sub-cmd (#56)
     add 22464c48 feat: support disk check before partition split (#57)
     add 35be8b19 refactor: update too many stdout log (#59)
     add 2cf08498 feature: support batch migrate multi tables (#60)
     add 3b1eaf10 feat: add a function to query nodes info (#61)
     add ffdde60a feat: support manual compaction rpc (#58)
     add f74a37b0 feat: support single migrate to target (#62)
     add f212c664 fix: auto balance copnfig is invalid (#63)
     add 936fbdf2 build: update release version to 1.2.0 (#64)
     add 5d8b7a19 fix: dependency alert (#65)
     add 9e3a4f87 feat: move main files to subdirectory admin-cli (#66)
     add 7c7f1b4e merge pegasus-kv/admin-cli repo
     add 070d59e1 resolve merge issues
     new 293f27e6 Merge pull request #955: chore: Merge repo 
pegasus-kv/admin-cli

The 1 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]

Reply via email to