This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch chore/dep
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
discard 4b7b08636 chore(deps): upgrade Go and npm dependencies
omit d1b2537b7 chore: fix lint formatting in rotation test
omit 680faa9d2 fix(storage): disable rotation task on warm and cold
lifecycle nodes
add 1c954da7c fix(storage): disable rotation task on warm and cold
lifecycle nodes (#1055)
add 065d87b74 feat: add replication integration tests for measure, stream
and trace (#1056)
add 133a932ca fix(storage): prevent epoch segment creation from zero
timestamps (#1059)
add 9d207afe2 fix(storage): disable rotation task on warm and cold
lifecycle nodes
add 9235a0a37 chore: fix lint formatting in rotation test
add bdefc12aa chore(deps): upgrade Go and npm dependencies
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (4b7b08636)
\
N -- N -- N refs/heads/chore/dep (bdefc12aa)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
CHANGES.md | 1 +
banyand/internal/storage/rotation.go | 5 +-
banyand/internal/storage/segment.go | 34 +++-
banyand/internal/storage/tsdb_test.go | 81 ++++++---
banyand/measure/metadata.go | 20 ++-
banyand/measure/svc_data.go | 14 +-
banyand/measure/syncer.go | 2 +-
banyand/measure/write_data.go | 6 +
banyand/measure/write_index.go | 5 +
banyand/property/gossip/service.go | 4 +-
banyand/queue/pub/client_test.go | 4 +-
banyand/stream/syncer.go | 2 +-
banyand/stream/write_data.go | 9 +
banyand/stream/write_index.go | 9 +
banyand/trace/syncer.go | 2 +-
banyand/trace/write_data.go | 6 +
banyand/trace/write_index.go | 5 +
pkg/grpchelper/connmanager.go | 24 ++-
pkg/grpchelper/retry.go | 4 +-
pkg/meter/prom/prom.go | 32 +++-
.../logical/stream/stream_plan_distributed.go | 2 +-
pkg/query/logical/trace/trace_plan_distributed.go | 2 +-
pkg/test/measure/etcd.go | 28 ++++
pkg/test/replicated/measure/etcd.go | 88 ++++++++++
.../measure/testdata/groups}/exception.json | 0
.../measure/testdata/groups}/index_mode.json | 0
.../measure/testdata/groups/replicated.json | 0
.../measure/testdata/groups/sw_metric.json | 2 +-
.../measure/testdata/groups/sw_spec.json | 0
.../measure/testdata/groups/sw_spec2.json | 0
.../measure/testdata/groups/updated.json | 0
.../service_traffic_replicated.json} | 2 +-
pkg/test/{property => replicated/stream}/etcd.go | 50 +++---
.../{ => replicated}/stream/testdata/group.json | 7 +-
.../stream/testdata/group_with_stages.json | 4 +
pkg/test/replicated/trace/etcd.go | 79 +++++++++
.../trace/testdata/groups/test-trace-group.json | 2 +-
.../trace/testdata/groups/test-trace-spec.json | 2 +-
.../trace/testdata/groups/test-trace-spec2.json | 2 +-
.../trace/testdata/groups/test-trace-updated.json | 2 +-
.../trace/testdata/groups/zipkin-trace-group.json | 2 +-
pkg/test/setup/setup.go | 10 +-
pkg/test/stream/etcd.go | 6 +
pkg/test/trace/etcd.go | 23 +++
test/cases/measure/data/data.go | 3 +-
test/cases/stream/data/data.go | 12 +-
test/cases/trace/data/data.go | 11 +-
.../{order_timestamp_desc_limit.ql => all.ql} | 2 +-
.../input/{order_timestamp_desc.yml => all.yml} | 1 +
.../data/want/{order_duration_desc.yml => all.yml} | 48 +++---
.../replication/measure_normal_replication_test.go | 186 +++++++++++++++++++++
.../replication/replication_suite_test.go | 120 ++++++-------
test/integration/replication/replication_test.go | 34 ++--
.../replication/stream_replication_test.go | 167 ++++++++++++++++++
.../replication/trace_replication_test.go | 168 +++++++++++++++++++
55 files changed, 1111 insertions(+), 223 deletions(-)
create mode 100644 pkg/test/replicated/measure/etcd.go
copy pkg/test/{measure/testdata/group_stages =>
replicated/measure/testdata/groups}/exception.json (100%)
copy pkg/test/{measure/testdata/group_stages =>
replicated/measure/testdata/groups}/index_mode.json (100%)
copy pkg/test/{ => replicated}/measure/testdata/groups/replicated.json (100%)
copy pkg/test/{ => replicated}/measure/testdata/groups/sw_metric.json (94%)
copy pkg/test/{ => replicated}/measure/testdata/groups/sw_spec.json (100%)
copy pkg/test/{ => replicated}/measure/testdata/groups/sw_spec2.json (100%)
copy pkg/test/{ => replicated}/measure/testdata/groups/updated.json (100%)
copy pkg/test/{measure/testdata/index_rule_bindings/service_traffic.json =>
replicated/measure/testdata/index_rule_bindings/service_traffic_replicated.json}
(91%)
copy pkg/test/{property => replicated/stream}/etcd.go (66%)
copy pkg/test/{ => replicated}/stream/testdata/group.json (94%)
copy pkg/test/{ => replicated}/stream/testdata/group_with_stages.json (96%)
create mode 100644 pkg/test/replicated/trace/etcd.go
copy pkg/test/{ => replicated}/trace/testdata/groups/test-trace-group.json
(93%)
copy pkg/test/{ => replicated}/trace/testdata/groups/test-trace-spec.json (94%)
copy pkg/test/{ => replicated}/trace/testdata/groups/test-trace-spec2.json
(94%)
copy pkg/test/{ => replicated}/trace/testdata/groups/test-trace-updated.json
(93%)
copy pkg/test/{ => replicated}/trace/testdata/groups/zipkin-trace-group.json
(93%)
copy test/cases/trace/data/input/{order_timestamp_desc_limit.ql => all.ql}
(98%)
copy test/cases/trace/data/input/{order_timestamp_desc.yml => all.yml} (98%)
copy test/cases/trace/data/want/{order_duration_desc.yml => all.yml} (94%)
create mode 100644
test/integration/replication/measure_normal_replication_test.go
create mode 100644 test/integration/replication/stream_replication_test.go
create mode 100644 test/integration/replication/trace_replication_test.go