Skip to content

Commit e9c0b76

Browse files
authored
Merge branch 'master' into add_spdlog
2 parents 131561e + a875cb4 commit e9c0b76

File tree

75 files changed

+2200
-973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2200
-973
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
CheckOptions: []
2121
# Disable some checks that are not useful for us now.
2222
# They are sorted by names, and should be consistent to build_tools/clang_tidy.py.
23-
Checks: 'abseil-*,boost-*,bugprone-*,cert-*,clang-analyzer-*,concurrency-*,cppcoreguidelines-*,darwin-*,fuchsia-*,google-*,hicpp-*,linuxkernel-*,llvm-*,misc-*,modernize-*,performance-*,portability-*,readability-*,-bugprone-easily-swappable-parameters,-bugprone-lambda-function-name,-bugprone-macro-parentheses,-cert-err58-cpp,-concurrency-mt-unsafe,-cppcoreguidelines-avoid-c-arrays,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-avoid-non-const-global-variables,-cppcoreguidelines-macro-usage,-cppcoreguidelines-non-private-member-variables-in-classes,-cppcoreguidelines-owning-memory,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-union-access,-fuchsia-default-arguments-calls,-fuchsia-overloaded-operator,-fuchsia-statically-constructed-objects,-google-readability-avoid-underscore-in-googletest-name,-hicpp-avoid-c-arrays,-hicpp-named-parameter,-hicpp-no-array-decay,-llvm-header-guard,-llvm-include-order,-misc-definitions-in-headers,-misc-non-private-member-variables-in-classes,-misc-unused-parameters,-modernize-avoid-bind,-modernize-avoid-c-arrays,-modernize-replace-disallow-copy-and-assign-macro,-modernize-use-trailing-return-type,-performance-unnecessary-value-param,-readability-function-cognitive-complexity,-readability-identifier-length,-readability-magic-numbers,-readability-named-parameter,-readability-suspicious-call-argument'
23+
Checks: 'abseil-*,boost-*,bugprone-*,cert-*,clang-analyzer-*,concurrency-*,cppcoreguidelines-*,darwin-*,fuchsia-*,google-*,hicpp-*,linuxkernel-*,llvm-*,misc-*,modernize-*,performance-*,portability-*,readability-*,-bugprone-easily-swappable-parameters,-bugprone-lambda-function-name,-bugprone-macro-parentheses,-bugprone-sizeof-expression,-cert-err58-cpp,-concurrency-mt-unsafe,-cppcoreguidelines-avoid-c-arrays,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-avoid-non-const-global-variables,-cppcoreguidelines-macro-usage,-cppcoreguidelines-non-private-member-variables-in-classes,-cppcoreguidelines-owning-memory,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-union-access,-fuchsia-default-arguments-calls,-fuchsia-multiple-inheritance,-fuchsia-overloaded-operator,-fuchsia-statically-constructed-objects,-google-readability-avoid-underscore-in-googletest-name,-hicpp-avoid-c-arrays,-hicpp-named-parameter,-hicpp-no-array-decay,-llvm-header-guard,-llvm-include-order,-misc-definitions-in-headers,-misc-non-private-member-variables-in-classes,-misc-unused-parameters,-modernize-avoid-bind,-modernize-avoid-c-arrays,-modernize-replace-disallow-copy-and-assign-macro,-modernize-use-trailing-return-type,-performance-unnecessary-value-param,-readability-function-cognitive-complexity,-readability-identifier-length,-readability-magic-numbers,-readability-named-parameter,-readability-suspicious-call-argument'
2424
ExtraArgs:
2525
ExtraArgsBefore: []
2626
FormatStyle: none

admin-cli/executor/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727

2828
"github.com/apache/incubator-pegasus/admin-cli/client"
2929
"github.com/apache/incubator-pegasus/admin-cli/util"
30-
"github.com/pegasus-kv/collector/aggregate"
30+
"github.com/apache/incubator-pegasus/collector/aggregate"
3131
)
3232

3333
// Client represents as a manager of various SDKs that

admin-cli/executor/nodes_stat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package executor
2222
import (
2323
"github.com/apache/incubator-pegasus/admin-cli/tabular"
2424
"github.com/apache/incubator-pegasus/admin-cli/util"
25-
"github.com/pegasus-kv/collector/aggregate"
25+
"github.com/apache/incubator-pegasus/collector/aggregate"
2626
)
2727

2828
var nodeStatsTemplate = `---

admin-cli/executor/partition_stat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"sort"
2525

2626
"github.com/apache/incubator-pegasus/admin-cli/tabular"
27-
"github.com/pegasus-kv/collector/aggregate"
27+
"github.com/apache/incubator-pegasus/collector/aggregate"
2828
)
2929

3030
var partitionStatsTemplate = `---

admin-cli/executor/table_stat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
"github.com/apache/incubator-pegasus/admin-cli/tabular"
2727
"github.com/apache/incubator-pegasus/admin-cli/util"
28-
"github.com/pegasus-kv/collector/aggregate"
28+
"github.com/apache/incubator-pegasus/collector/aggregate"
2929
)
3030

3131
var tableStatsTemplate = `---

admin-cli/executor/toolkits/tablemigrator/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"github.com/apache/incubator-pegasus/admin-cli/executor"
2727
"github.com/apache/incubator-pegasus/admin-cli/executor/toolkits"
2828
"github.com/apache/incubator-pegasus/admin-cli/util"
29+
"github.com/apache/incubator-pegasus/collector/aggregate"
2930
"github.com/apache/incubator-pegasus/go-client/session"
30-
"github.com/pegasus-kv/collector/aggregate"
3131
)
3232

3333
var pendingMutationThreshold = 100000.0

admin-cli/go.mod

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ module github.com/apache/incubator-pegasus/admin-cli
2020
go 1.18
2121

2222
require (
23+
github.com/apache/incubator-pegasus/collector v0.0.0-20250103031858-1091da5fbec8
2324
github.com/apache/incubator-pegasus/go-client v0.0.0-20220617101220-e49a69d25a52
2425
github.com/cheggaaa/pb/v3 v3.0.6
2526
github.com/desertbit/grumble v1.1.1
2627
github.com/dustin/go-humanize v1.0.0
2728
github.com/go-resty/resty/v2 v2.6.0
2829
github.com/go-zookeeper/zk v1.0.2
2930
github.com/olekukonko/tablewriter v0.0.5
30-
github.com/pegasus-kv/collector v0.0.0-20220526124628-023287923c32
3131
github.com/sirupsen/logrus v1.8.1
32-
github.com/stretchr/testify v1.6.1
32+
github.com/stretchr/testify v1.8.2
3333
gopkg.in/natefinch/lumberjack.v2 v2.0.0
3434
gopkg.in/yaml.v2 v2.4.0
3535
k8s.io/apimachinery v0.16.13
@@ -44,7 +44,7 @@ require (
4444
github.com/desertbit/go-shlex v0.1.1 // indirect
4545
github.com/desertbit/readline v1.5.1 // indirect
4646
github.com/fatih/color v1.10.0 // indirect
47-
github.com/fsnotify/fsnotify v1.4.9 // indirect
47+
github.com/fsnotify/fsnotify v1.5.4 // indirect
4848
github.com/hashicorp/errwrap v1.1.0 // indirect
4949
github.com/hashicorp/go-multierror v1.1.1 // indirect
5050
github.com/hashicorp/hcl v1.0.0 // indirect
@@ -69,7 +69,8 @@ require (
6969
golang.org/x/net v0.23.0 // indirect
7070
golang.org/x/sys v0.18.0 // indirect
7171
golang.org/x/text v0.14.0 // indirect
72-
gopkg.in/ini.v1 v1.62.0 // indirect
72+
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
73+
gopkg.in/ini.v1 v1.67.0 // indirect
7374
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 // indirect
74-
gopkg.in/yaml.v3 v3.0.0 // indirect
75+
gopkg.in/yaml.v3 v3.0.1 // indirect
7576
)

0 commit comments

Comments
 (0)