This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch lifecycle
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
from a3744462 Add lifecycle management
add 2c5e108b Update doc
No new revisions were added by this update.
Summary of changes:
banyand/Dockerfile | 2 +
banyand/Makefile | 2 +-
banyand/backup/lifecycle/lifecycle.go | 11 +-
banyand/backup/lifecycle/progress_test.go | 119 ++++
banyand/backup/lifecycle/service.go | 1 -
banyand/backup/lifecycle/steps.go | 2 +
banyand/backup/lifecycle/steps_test.go | 609 +++++++++++++++++++++
banyand/cmd/{backup => lifecycle}/main.go | 4 +-
banyand/metadata/client.go | 7 +-
banyand/metadata/embeddedserver/server.go | 2 +-
banyand/queue/queue.go | 2 +
docs/operation/lifecycle.md | 213 +++++++
pkg/cmdsetup/data.go | 2 +-
pkg/cmdsetup/liaison.go | 2 +-
pkg/node/interface.go | 2 +
pkg/test/helpers/context.go | 9 +
pkg/test/measure/testdata/groups/sw_metric.json | 17 +-
pkg/test/stream/testdata/group.json | 17 +-
test/cases/lifecycle/lifecycle.go | 52 ++
.../lifecycle_suite_test.go} | 66 +--
20 files changed, 1094 insertions(+), 47 deletions(-)
create mode 100644 banyand/backup/lifecycle/progress_test.go
create mode 100644 banyand/backup/lifecycle/steps_test.go
copy banyand/cmd/{backup => lifecycle}/main.go (91%)
create mode 100644 docs/operation/lifecycle.md
create mode 100644 test/cases/lifecycle/lifecycle.go
copy test/integration/distributed/{query/query_suite_test.go =>
lifecycle/lifecycle_suite_test.go} (77%)