You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2026/04/17 07:12:46 UTC
(skywalking-banyandb) 01/02: Merge remote-tracking branch 'origin/main' into doc-0.10
This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch docs-0.10-concepts-tsdb-data-model
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit b6aa8b1c4345d84a9cd2d35f35c6039c38a761c1
Merge: 2f3e7d549 998ce3122
Author: Hongtao Gao <ha...@gmail.com>
AuthorDate: Fri Apr 17 07:08:59 2026 +0000
Merge remote-tracking branch 'origin/main' into doc-0.10
.github/workflows/ci.yml | 7 +
.github/workflows/e2e.yml | 26 +-
CHANGES.md | 13 +
Makefile | 6 +-
banyand/backup/backup_test.go | 9 +-
banyand/backup/lifecycle/lifecycle.go | 2 +-
banyand/backup/snapshot/snapshot.go | 10 +-
banyand/internal/sidx/block_writer.go | 31 +-
banyand/internal/sidx/file_part_sync_test.go | 134 +++
banyand/internal/sidx/interfaces.go | 2 +
banyand/internal/sidx/metadata.go | 19 +
banyand/internal/sidx/part.go | 62 +-
banyand/internal/sidx/sidx.go | 14 +
banyand/internal/sidx/sync.go | 19 +-
banyand/internal/sidx/sync_test.go | 191 ++++
banyand/liaison/grpc/node.go | 29 +
banyand/liaison/grpc/node_test.go | 11 +
banyand/liaison/grpc/registry_test.go | 14 +-
banyand/liaison/grpc/server_test.go | 82 +-
banyand/measure/block_writer.go | 26 +-
banyand/measure/cache_benchmark_test.go | 3 +-
banyand/measure/file_part_sync_test.go | 207 ++++
banyand/measure/introducer.go | 20 +-
banyand/measure/measure_suite_test.go | 15 +-
banyand/measure/metadata.go | 20 +-
banyand/measure/part_metadata.go | 9 +
banyand/measure/topn.go | 19 +-
banyand/measure/tstable.go | 35 +-
banyand/measure/write_data.go | 82 +-
banyand/metadata/client.go | 191 +---
banyand/metadata/embeddedetcd/server.go | 193 ----
banyand/metadata/metadata.go | 3 +-
banyand/metadata/metadata_test.go | 11 +-
banyand/metadata/schema/checker.go | 2 +-
banyand/metadata/schema/checker_test.go | 18 +
banyand/metadata/schema/error.go | 2 -
banyand/metadata/schema/etcd.go | 649 ------------
banyand/metadata/schema/etcd_test.go | 698 ------------
banyand/metadata/schema/export_test.go | 49 -
banyand/metadata/schema/group.go | 125 ---
banyand/metadata/schema/index.go | 199 ----
banyand/metadata/schema/kind.go | 97 --
banyand/metadata/schema/measure.go | 224 ----
banyand/metadata/schema/node.go | 84 --
banyand/metadata/schema/prefix_test.go | 105 --
banyand/metadata/schema/property.go | 126 ---
banyand/metadata/schema/property/client.go | 41 +-
banyand/metadata/schema/property/client_test.go | 79 ++
banyand/metadata/schema/property/validate.go | 96 ++
banyand/metadata/schema/register_test.go | 133 ---
banyand/metadata/schema/schema.go | 68 +-
banyand/metadata/schema/stream.go | 172 ---
banyand/metadata/schema/topn.go | 103 --
banyand/metadata/schema/trace.go | 126 ---
banyand/metadata/schema/watcher.go | 296 ------
banyand/metadata/schema/watcher_test.go | 566 ----------
banyand/metadata/service/server.go | 216 +---
banyand/metadata/service/server_test.go | 118 ---
banyand/stream/block_writer.go | 29 +-
banyand/stream/file_part_sync_test.go | 195 ++++
banyand/stream/introducer.go | 21 +-
banyand/stream/metadata.go | 16 +-
banyand/stream/part_metadata.go | 9 +
banyand/stream/stream_suite_test.go | 15 +-
banyand/stream/tstable.go | 35 +-
banyand/stream/write_data.go | 73 +-
banyand/trace/block_writer.go | 26 +-
banyand/trace/file_part_sync_test.go | 549 ++++++++++
banyand/trace/handoff_controller.go | 123 ++-
banyand/trace/handoff_replay_test.go | 332 ++++++
banyand/trace/handoff_storage_test.go | 120 +++
banyand/trace/introducer.go | 41 +-
banyand/trace/metadata.go | 16 +-
banyand/trace/migration_test.go | 1106 ++++++++++++++++++++
banyand/trace/part_metadata.go | 9 +
banyand/trace/streaming_pipeline_test.go | 8 +
banyand/trace/svc_liaison.go | 18 +-
banyand/trace/trace_suite_test.go | 15 +-
banyand/trace/tstable.go | 36 +-
banyand/trace/write_data.go | 127 ++-
bydbctl/internal/cmd/analyze_test.go | 2 +-
bydbctl/internal/cmd/property_test.go | 75 +-
dist/LICENSE | 23 -
.../license-github.com-cenkalti-backoff-v5.txt | 20 -
.../license-github.com-coreos-go-semver.txt | 202 ----
.../license-github.com-coreos-go-systemd-v22.txt | 191 ----
dist/licenses/license-github.com-gogo-protobuf.txt | 35 -
.../license-github.com-golang-protobuf.txt | 28 -
dist/licenses/license-github.com-google-btree.txt | 202 ----
.../license-github.com-gorilla-websocket.txt | 22 -
.../license-github.com-jonboulle-clockwork.txt | 201 ----
dist/licenses/license-github.com-soheilhy-cmux.txt | 202 ----
...license-github.com-tmc-grpc-websocket-proxy.txt | 7 -
.../license-github.com-xiang90-probing.txt | 22 -
dist/licenses/license-go.etcd.io-bbolt.txt | 20 -
dist/licenses/license-go.etcd.io-etcd-api-v3.txt | 202 ----
.../license-go.etcd.io-etcd-client-pkg-v3.txt | 202 ----
.../licenses/license-go.etcd.io-etcd-client-v3.txt | 202 ----
dist/licenses/license-go.etcd.io-etcd-pkg-v3.txt | 202 ----
.../licenses/license-go.etcd.io-etcd-server-v3.txt | 202 ----
dist/licenses/license-go.etcd.io-raft-v3.txt | 202 ----
...otel-exporters-otlp-otlptrace-otlptracegrpc.txt | 231 ----
...ntelemetry.io-otel-exporters-otlp-otlptrace.txt | 231 ----
.../license-go.opentelemetry.io-proto-otlp.txt | 201 ----
.../license-gopkg.in-natefinch-lumberjack.v2.txt | 21 -
dist/licenses/license-sigs.k8s.io-json.txt | 238 -----
docs/concept/clustering.md | 34 +-
docs/concept/distributed-measure-aggregation.md | 45 +
docs/installation/cluster.md | 148 ++-
docs/installation/kubernetes.md | 11 +-
docs/menu.yml | 2 +
docs/operation/cluster.md | 16 +-
docs/operation/configuration.md | 88 +-
docs/operation/disk-management.md | 31 +
docs/operation/grafana-cluster.json | 4 +-
docs/operation/lifecycle.md | 61 +-
docs/operation/node-discovery.md | 70 +-
docs/operation/observability.md | 6 +-
docs/operation/troubleshooting/common-issues.md | 10 +-
docs/operation/troubleshooting/crash.md | 4 +-
docs/operation/troubleshooting/install.md | 12 +-
.../internal/integration/integration_suite_test.go | 23 +-
go.mod | 27 +-
go.sum | 86 --
mcp/docker-compose.yml | 2 +-
pkg/cmdsetup/data.go | 2 +-
pkg/cmdsetup/liaison.go | 2 +-
pkg/cmdsetup/standalone.go | 2 +-
pkg/index/inverted/query.go | 50 +
pkg/test/helpers/constant.go | 1 -
pkg/test/helpers/etcd.go | 66 --
pkg/test/measure/{etcd.go => schema.go} | 0
pkg/test/network.go | 10 -
pkg/test/property/{etcd.go => schema.go} | 0
pkg/test/setup/setup.go | 317 ++----
pkg/test/stream/{etcd.go => schema.go} | 0
pkg/test/trace/{etcd.go => schema.go} | 0
test/cases/backup/backup.go | 65 +-
test/cases/measure/cmd/capture/capture_test.go | 191 ++++
test/cases/measure/cmd/generate/capture.go | 192 ++++
test/cases/measure/cmd/generate/entry.go | 74 ++
test/cases/measure/cmd/generate/gap.go | 203 ++++
test/cases/measure/cmd/generate/layer1_leaf.go | 185 ++++
test/cases/measure/cmd/generate/layer2_tree.go | 127 +++
test/cases/measure/cmd/generate/layer3_features.go | 212 ++++
test/cases/measure/cmd/generate/main.go | 138 +++
test/cases/measure/cmd/generate/pairwise.go | 172 +++
test/cases/measure/cmd/generate/ql_renderer.go | 242 +++++
test/cases/measure/cmd/generate/seed.go | 191 ++++
test/cases/measure/cmd/generate/types.go | 176 ++++
.../measure/data/input/complex_and_or.ql} | 27 +-
.../measure/data/input/complex_and_or.yaml} | 58 +-
.../measure/data/input/gen_err_in_scalar.ql} | 24 +-
.../measure/data/input/gen_err_in_scalar.yaml} | 43 +-
.../measure/data/input/gen_err_match_int.ql} | 24 +-
.../measure/data/input/gen_err_match_int.yaml} | 43 +-
.../input/gen_feat_count_group_order_desc_8.ql} | 24 +-
.../input/gen_feat_count_group_order_desc_8.yaml} | 48 +-
.../data/input/gen_feat_max_group_order_desc_6.ql} | 24 +-
.../input/gen_feat_max_group_order_desc_6.yaml} | 48 +-
.../measure/data/input/gen_feat_mean_group_2.ql} | 24 +-
.../measure/data/input/gen_feat_mean_group_2.yaml} | 46 +-
.../data/input/gen_feat_mean_group_order_asc_5.ql} | 24 +-
.../input/gen_feat_mean_group_order_asc_5.yaml} | 48 +-
.../gen_feat_mean_top_asc_group_order_asc_4.ql} | 24 +-
.../gen_feat_mean_top_asc_group_order_asc_4.yaml} | 52 +-
...feat_mean_top_asc_group_order_desc_filter_1.ql} | 24 +-
...at_mean_top_asc_group_order_desc_filter_1.yaml} | 59 +-
.../gen_feat_mean_top_desc_group_order_asc_0.ql} | 24 +-
.../gen_feat_mean_top_desc_group_order_asc_0.yaml} | 52 +-
.../gen_feat_mean_top_desc_group_order_desc_3.ql} | 24 +-
...gen_feat_mean_top_desc_group_order_desc_3.yaml} | 52 +-
.../data/input/gen_feat_min_group_order_desc_7.ql} | 24 +-
.../input/gen_feat_min_group_order_desc_7.yaml} | 48 +-
.../data/input/gen_feat_sum_group_order_desc_9.ql} | 24 +-
.../input/gen_feat_sum_group_order_desc_9.yaml} | 48 +-
.../measure/data/input/gen_leaf_eq_int.ql} | 24 +-
.../measure/data/input/gen_leaf_eq_int.yaml} | 43 +-
.../measure/data/input/gen_leaf_eq_null.ql} | 24 +-
.../measure/data/input/gen_leaf_eq_null.yaml} | 42 +-
.../measure/data/input/gen_leaf_eq_str.ql} | 24 +-
.../measure/data/input/gen_leaf_eq_str.yaml} | 43 +-
.../measure/data/input/gen_leaf_ge_int.ql} | 24 +-
.../measure/data/input/gen_leaf_ge_int.yaml} | 43 +-
.../measure/data/input/gen_leaf_ge_str.ql} | 24 +-
.../measure/data/input/gen_leaf_ge_str.yaml} | 43 +-
.../measure/data/input/gen_leaf_gt_int.ql} | 24 +-
.../measure/data/input/gen_leaf_gt_int.yaml} | 43 +-
.../measure/data/input/gen_leaf_gt_str.ql} | 24 +-
.../measure/data/input/gen_leaf_gt_str.yaml} | 43 +-
.../measure/data/input/gen_leaf_in_int_array.ql} | 24 +-
.../measure/data/input/gen_leaf_in_int_array.yaml} | 45 +-
.../measure/data/input/gen_leaf_in_str_array.ql} | 24 +-
.../measure/data/input/gen_leaf_in_str_array.yaml} | 45 +-
.../measure/data/input/gen_leaf_le_int.ql} | 24 +-
.../measure/data/input/gen_leaf_le_int.yaml} | 43 +-
.../measure/data/input/gen_leaf_le_str.ql} | 24 +-
.../measure/data/input/gen_leaf_le_str.yaml} | 43 +-
.../measure/data/input/gen_leaf_lt_int.ql} | 24 +-
.../measure/data/input/gen_leaf_lt_int.yaml} | 43 +-
.../measure/data/input/gen_leaf_lt_str.ql} | 24 +-
.../measure/data/input/gen_leaf_lt_str.yaml} | 43 +-
.../measure/data/input/gen_leaf_match_str.ql} | 24 +-
.../measure/data/input/gen_leaf_match_str.yaml} | 42 +-
.../measure/data/input/gen_leaf_ne_int.ql} | 24 +-
.../measure/data/input/gen_leaf_ne_int.yaml} | 43 +-
.../measure/data/input/gen_leaf_ne_null.ql} | 24 +-
.../measure/data/input/gen_leaf_ne_null.yaml} | 42 +-
.../measure/data/input/gen_leaf_ne_str.ql} | 24 +-
.../measure/data/input/gen_leaf_ne_str.yaml} | 43 +-
.../data/input/gen_leaf_not_in_int_array.ql} | 24 +-
.../data/input/gen_leaf_not_in_int_array.yaml} | 44 +-
.../data/input/gen_leaf_not_in_str_array.ql} | 24 +-
.../data/input/gen_leaf_not_in_str_array.yaml} | 44 +-
.../measure/data/input/gen_tree_depth1_leaf.ql} | 24 +-
.../measure/data/input/gen_tree_depth1_leaf.yaml} | 43 +-
.../measure/data/input/gen_tree_depth2_and.ql} | 24 +-
.../measure/data/input/gen_tree_depth2_and.yaml} | 53 +-
.../measure/data/input/gen_tree_depth2_or.ql} | 24 +-
.../measure/data/input/gen_tree_depth2_or.yaml} | 53 +-
.../measure/data/input/gen_tree_depth3_and_or.ql} | 24 +-
.../measure/data/input/gen_tree_depth3_and_or.yaml | 67 ++
.../measure/data/input/gen_tree_depth3_or_and.ql} | 24 +-
.../measure/data/input/gen_tree_depth3_or_and.yaml | 67 ++
.../data/input/gen_tree_depth5_deep_and.ql} | 24 +-
.../data/input/gen_tree_depth5_deep_and.yaml | 187 ++++
.../measure/data/input/gen_tree_depth5_deep_or.ql} | 24 +-
.../data/input/gen_tree_depth5_deep_or.yaml | 187 ++++
.../measure/data/input/group_sum_with_filter.ql} | 28 +-
.../measure/data/input/group_sum_with_filter.yaml} | 47 +-
.../measure/data/input/index_mode_le.ql} | 27 +-
.../measure/data/input/index_mode_le.yaml} | 36 +-
.../measure/data/input/index_mode_ne.ql} | 27 +-
.../measure/data/input/index_mode_ne.yaml} | 36 +-
.../measure/data/input/offset_empty.ql} | 28 +-
.../measure/data/input/offset_empty.yaml} | 33 +-
.../measure/data/input/tag_filter_ge.ql} | 27 +-
.../measure/data/input/tag_filter_ge.yaml} | 38 +-
.../measure/data/input/tag_filter_ne.ql} | 27 +-
.../measure/data/input/tag_filter_ne.yaml} | 38 +-
.../measure/data/input/tag_filter_not_in.ql} | 27 +-
.../measure/data/input/tag_filter_not_in.yaml} | 38 +-
.../measure/data/input/top_with_filter.ql} | 28 +-
.../measure/data/input/top_with_filter.yaml} | 51 +-
.../measure/data/want/complex_and_or.yaml} | 64 +-
.../want/gen_feat_count_group_order_desc_8.yaml} | 72 +-
.../want/gen_feat_max_group_order_desc_6.yaml} | 72 +-
.../measure/data/want/gen_feat_mean_group_2.yaml} | 72 +-
.../want/gen_feat_mean_group_order_asc_5.yaml} | 72 +-
.../gen_feat_mean_top_asc_group_order_asc_4.yaml} | 56 +-
...at_mean_top_asc_group_order_desc_filter_1.yaml} | 56 +-
.../gen_feat_mean_top_desc_group_order_asc_0.yaml} | 56 +-
...gen_feat_mean_top_desc_group_order_desc_3.yaml} | 56 +-
.../want/gen_feat_min_group_order_desc_7.yaml} | 72 +-
.../want/gen_feat_sum_group_order_desc_9.yaml} | 72 +-
.../measure/data/want/gen_leaf_eq_int.yaml} | 54 +-
test/cases/measure/data/want/gen_leaf_eq_str.yaml | 87 ++
.../measure/data/want/gen_leaf_ge_int.yaml} | 54 +-
test/cases/measure/data/want/gen_leaf_ge_str.yaml | 87 ++
.../measure/data/want/gen_leaf_gt_int.yaml} | 54 +-
test/cases/measure/data/want/gen_leaf_gt_str.yaml | 87 ++
.../measure/data/want/gen_leaf_in_int_array.yaml | 78 ++
.../measure/data/want/gen_leaf_in_str_array.yaml | 133 +++
test/cases/measure/data/want/gen_leaf_le_int.yaml | 77 ++
test/cases/measure/data/want/gen_leaf_le_str.yaml | 133 +++
test/cases/measure/data/want/gen_leaf_lt_int.yaml | 77 ++
test/cases/measure/data/want/gen_leaf_lt_str.yaml | 87 ++
.../measure/data/want/gen_leaf_match_str.yaml | 68 ++
test/cases/measure/data/want/gen_leaf_ne_int.yaml | 77 ++
test/cases/measure/data/want/gen_leaf_ne_str.yaml | 87 ++
.../data/want/gen_leaf_not_in_int_array.yaml | 78 ++
.../data/want/gen_leaf_not_in_str_array.yaml | 133 +++
.../measure/data/want/gen_tree_depth1_leaf.yaml | 87 ++
.../measure/data/want/gen_tree_depth2_and.yaml} | 47 +-
.../measure/data/want/gen_tree_depth2_or.yaml | 87 ++
.../measure/data/want/gen_tree_depth3_and_or.yaml} | 24 +-
.../measure/data/want/gen_tree_depth3_or_and.yaml} | 47 +-
.../data/want/gen_tree_depth5_deep_and.yaml} | 24 +-
.../measure/data/want/group_sum_with_filter.yaml} | 48 +-
.../measure/data/want/index_mode_le.yaml} | 54 +-
.../measure/data/want/index_mode_ne.yaml} | 62 +-
test/cases/measure/data/want/tag_filter_ge.yaml | 78 ++
test/cases/measure/data/want/tag_filter_ne.yaml | 78 ++
.../cases/measure/data/want/tag_filter_not_in.yaml | 98 ++
.../measure/data/want/top_with_filter.yaml} | 48 +-
test/cases/measure/measure.go | 76 ++
test/docker/base-compose.yml | 16 +-
test/e2e-v2/cases/cluster/docker-compose-etcd.yml | 94 --
...ker-compose-property.yml => docker-compose.yml} | 15 +-
test/e2e-v2/cases/cluster/e2e-property.yaml | 64 --
.../cases/cluster/{e2e-etcd.yaml => e2e.yaml} | 2 +-
.../expected/layer.yml => cluster/nodes.yaml} | 9 +-
.../cases/event/banyandb/docker-compose-etcd.yml | 39 -
...ker-compose-property.yml => docker-compose.yml} | 0
test/e2e-v2/cases/event/banyandb/e2e-property.yaml | 51 -
.../event/banyandb/{e2e-etcd.yaml => e2e.yaml} | 2 +-
test/e2e-v2/cases/event/expected/events.yml | 2 +-
.../lifecycle/expected/dependency-endpoint.yml | 4 +-
.../lifecycle/expected/dependency-instance.yml | 4 +-
.../lifecycle/expected/dependency-services.yml | 4 +-
.../cases/lifecycle/expected/trace-detail.yml | 2 +-
.../cases/lifecycle/expected/traces-list.yml | 2 +-
test/e2e-v2/cases/log/expected/logs.yml | 2 +-
.../cases/log/expected/metrics-has-value.yml | 2 +-
.../e2e-v2/cases/log/expected/service-endpoint.yml | 2 +-
.../e2e-v2/cases/log/expected/service-instance.yml | 2 +-
test/e2e-v2/cases/log/expected/service.yml | 2 +-
.../trace/banyandb/docker-compose-etcd.yml | 64 --
...ker-compose-property.yml => docker-compose.yml} | 0
.../profiling/trace/banyandb/e2e-property.yaml | 51 -
.../trace/banyandb/{e2e-etcd.yaml => e2e.yaml} | 2 +-
.../trace/expected/profile-list-finished.yml | 4 +-
.../trace/expected/profile-list-notified.yml | 4 +-
.../trace/expected/profile-segment-analyze.yml | 4 +-
.../trace/expected/profile-segment-list.yml | 4 +-
.../profiling/trace/expected/service-endpoint.yml | 2 +-
.../profiling/trace/expected/service-instance.yml | 2 +-
.../cases/profiling/trace/expected/service.yml | 2 +-
.../profiling/trace/expected/traces-v2-list.yml | 4 +-
.../process/istio/banyandb/expected/process.yml | 2 +-
.../istio/banyandb/expected/service-instance.yml | 2 +-
.../process/istio/banyandb/expected/service.yml | 12 +-
.../cases/storage/banyandb/docker-compose-etcd.yml | 78 --
...ker-compose-property.yml => docker-compose.yml} | 0
.../cases/storage/banyandb/e2e-property.yaml | 64 --
.../storage/banyandb/{e2e-etcd.yaml => e2e.yaml} | 2 +-
.../expected/dependency-endpoint-consumer.yml | 4 +-
.../expected/dependency-endpoint-provider.yml | 4 +-
.../cases/storage/expected/dependency-instance.yml | 4 +-
.../expected/dependency-services-consumer.yml | 4 +-
.../expected/dependency-services-provider.yml | 4 +-
test/e2e-v2/cases/storage/expected/event-list.yml | 2 +-
test/e2e-v2/cases/storage/expected/layer.yml | 2 +-
.../expected/metrics-has-value-percentile.yml | 2 +-
.../cases/storage/expected/metrics-has-value.yml | 2 +-
.../storage/expected/metrics-top-endpoint.yml | 2 +-
.../cases/storage/expected/metrics-top-service.yml | 2 +-
.../storage/expected/service-endpoint-consumer.yml | 2 +-
.../storage/expected/service-endpoint-provider.yml | 2 +-
.../storage/expected/service-instance-consumer.yml | 2 +-
.../storage/expected/service-instance-provider.yml | 2 +-
test/e2e-v2/cases/storage/expected/service.yml | 2 +-
.../cases/storage/expected/traces-v2-list.yml | 4 +-
test/e2e-v2/cases/zipkin/expected/traces.yml | 4 +-
test/e2e-v2/script/docker-compose/base-compose.yml | 7 -
test/e2e-v2/script/env | 4 +-
.../script/prepare/setup-e2e-shell/install-e2e.sh | 2 +-
test/failover/README.md | 43 -
test/failover/setup.md | 2 -
test/integration/distributed/backup/common.go | 46 +-
.../distributed/cluster_state/common.go | 38 +-
.../distributed/cluster_state/etcd/suite_test.go | 56 -
.../cluster_state/property/suite_test.go | 57 -
.../cluster_state/suite_test.go} | 7 +-
.../distributed/deletion/etcd/suite_test.go | 59 --
.../deletion/{property => }/suite_test.go | 6 +-
test/integration/distributed/inspection/common.go | 37 +-
.../distributed/inspection/etcd/suite_test.go | 59 --
.../distributed/inspection/property/suite_test.go | 59 --
.../inspection/suite_test.go} | 7 +-
test/integration/distributed/lifecycle/common.go | 153 ++-
.../distributed/lifecycle/etcd/suite_test.go | 81 --
.../distributed/lifecycle/property/suite_test.go | 144 ---
.../lifecycle/suite_test.go} | 7 +-
.../distributed/multi_segments/common.go | 63 +-
.../distributed/multi_segments/etcd/suite_test.go | 73 --
.../multi_segments/property/suite_test.go | 77 --
.../multi_segments/suite_test.go} | 7 +-
test/integration/distributed/query/common.go | 62 +-
.../distributed/query/etcd/suite_test.go | 70 --
.../distributed/query/property/suite_test.go | 74 --
.../query/suite_test.go} | 7 +-
test/integration/distributed/schema/common.go | 53 +-
.../distributed/schema/etcd/suite_test.go | 66 --
.../distributed/schema/property/suite_test.go | 73 --
.../integration/distributed/schema/suite_test.go | 10 +-
test/integration/distributed/setup/node_test.go | 95 --
.../distributed/setup/setup_suite_test.go | 79 --
.../sync_retry/sync_retry_suite_test.go | 49 +-
test/integration/handoff/handoff_suite_test.go | 215 ++--
test/integration/load/load_suite_test.go | 2 +-
test/integration/replication/benchmark/README.md | 81 ++
.../replication/benchmark/benchmark_suite_test.go | 71 ++
.../benchmark/benchmark_test.go} | 46 +-
test/integration/replication/benchmark/config.go | 116 ++
.../benchmark/exec.go} | 43 +-
.../replication/benchmark/fixtures/pods.json | 36 +
.../replication/benchmark/fixtures/services.json | 25 +
test/integration/replication/benchmark/helm.go | 121 +++
test/integration/replication/benchmark/kind.go | 64 ++
test/integration/replication/benchmark/kube.go | 223 ++++
.../integration/replication/benchmark/kube_test.go | 89 ++
test/integration/replication/benchmark/metrics.go | 282 +++++
.../replication/benchmark/metrics_test.go | 67 ++
.../replication/benchmark/portforward.go | 69 ++
test/integration/replication/benchmark/report.go | 172 +++
.../benchmark/report_test.go} | 51 +-
.../replication/benchmark/run.sh} | 24 +-
test/integration/replication/benchmark/runner.go | 233 +++++
test/integration/replication/benchmark/values.yaml | 70 ++
test/integration/replication/benchmark/workload.go | 398 +++++++
.../replication/replication_suite_test.go | 2 +-
test/integration/standalone/backup/common.go | 2 +-
test/integration/standalone/cold_query/common.go | 46 +-
.../standalone/cold_query/property/suite_test.go | 59 --
.../{deletion/etcd => cold_query}/suite_test.go | 11 +-
test/integration/standalone/deletion/common.go | 13 -
.../deletion/{property => }/suite_test.go | 6 +-
test/integration/standalone/etcd/client_test.go | 317 ------
test/integration/standalone/etcd/testdata/ca.crt | 22 -
.../etcd/testdata/client-clientusage.crt | 24 -
.../etcd/testdata/client-clientusage.key.insecure | 27 -
.../etcd/testdata/server-serverusage.crt | 24 -
.../etcd/testdata/server-serverusage.key.insecure | 27 -
.../standalone/etcd/testdata/server.crt | 24 -
.../standalone/etcd/testdata/server.key.insecure | 27 -
test/integration/standalone/inspection/common.go | 31 +-
.../standalone/inspection/property/suite_test.go | 53 -
.../suite_test.go} | 9 +-
.../standalone/multi_segments/common.go | 75 +-
.../standalone/multi_segments/etcd/suite_test.go | 73 --
.../multi_segments/property/suite_test.go | 78 --
.../standalone/multi_segments/round2.go | 6 +-
.../etcd => multi_segments}/suite_test.go | 11 +-
test/integration/standalone/other/auth_test.go | 2 +-
test/integration/standalone/other/common.go | 19 +-
test/integration/standalone/other/disk_test.go | 36 +-
.../standalone/other/forced_ttl_cleanup_test.go | 4 +-
test/integration/standalone/other/measure_test.go | 2 +-
.../standalone/other/property/suite_test.go | 47 -
test/integration/standalone/other/property_test.go | 4 +-
.../standalone/other/{etcd => }/suite_test.go | 7 +-
test/integration/standalone/other/tls_test.go | 4 +-
test/integration/standalone/query/common.go | 73 +-
.../standalone/query/etcd/suite_test.go | 71 --
.../standalone/query/property/suite_test.go | 76 --
test/integration/standalone/query/round2.go | 6 +-
.../client_suite_test.go => query/suite_test.go} | 9 +-
test/integration/standalone/schema/common.go | 34 +-
.../standalone/schema/property/suite_test.go | 55 -
.../{deletion/etcd => schema}/suite_test.go | 11 +-
test/property_repair/base-compose.yml | 39 +-
.../full_data/docker-compose-3nodes.yml | 7 -
.../half_data/docker-compose-3nodes.yml | 7 -
.../service.yml => property_repair/nodes.yaml} | 18 +-
.../same_data/docker-compose-3nodes.yml | 7 -
test/scale/README.md | 1 -
447 files changed, 13601 insertions(+), 14944 deletions(-)
diff --cc docs/operation/node-discovery.md
index 855efb6dc,03a432145..09a6e260d
--- a/docs/operation/node-discovery.md
+++ b/docs/operation/node-discovery.md
@@@ -412,20 -407,30 +407,36 @@@ When the service starts
- File read error → keep existing cache, log error
- File deleted → keep existing cache, log error
- ## Choosing a Discovery Mode
+ ## None Mode
+
+ ### Overview
+
+ ### None Mode - Best For
+
+ - Standalone and single-node deployments (default mode)
+ - Development and testing environments
+ - No infrastructure dependencies
+### None Mode - Best For
+
+- Standalone and single-node deployments (default mode)
+- Development and testing environments
+- No infrastructure dependencies
+
### Etcd Mode - Best For
+ `--node-discovery-mode=none` disables external node discovery entirely. The discovery registry is wired to a stub that returns no peers, so no remote schema server, request routing target, or lifecycle migration target can be located. This is the default, and it is the only valid mode for `banyand standalone`.
+
+ ### When to Use
+
+ - `banyand standalone` — single-process deployments that bundle the liaison and data roles together. The standalone process talks to its own in-process schema server, so no discovery is necessary.
+ - Smoke tests and unit tests where a cluster is not needed.
- - Traditional VM/bare-metal deployments
- - Multi-cloud deployments requiring global service discovery
- - Environments where etcd is already deployed
- - Need for strong consistency guarantees
+ ### Caveats
+
+ - **Not valid for clusters.** Running any of `banyand data`, `banyand liaison`, or `lifecycle` with `--node-discovery-mode=none` will leave the schema client with no server to talk to, liaison routing tables empty, and lifecycle migrations as no-ops. Use `dns` or `file` for every clustered deployment.
+ - None mode has no additional flags; there is nothing else to configure.
+
+ ## Choosing a Discovery Mode
### DNS Mode - Best For