apache / apache/skywalking

[BYDB-Replica] Add integration test for inter-cluster replication resilience

Open
#13,230 7 comments 0 reactions 1 assignee Claimed by @bitflicker64 View on GitHub
database test
Dominant language
Java
Stars
25k
Forks
6.6k
Avg merge
10h 5m
Merged PRs (30d)
16

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.

### Description

We need to verify that BanyanDB’s global liaison remains available and routes queries correctly when one entire cluster fails. Specifically, data written in both clusters, and client queries against the global liaison, should succeed even if one cluster is down.

This issue tracks the creation of an automated integration test that:

- Brings up two independent BanyanDB clusters (A and B) with cross-cluster replication via the global liaison.
- Writes data to cluster A and B.
- Simulates a full cluster failure (cluster A or B down).
- Executes queries through the global liaison.
- Verifies query success and data correctness from the surviving cluster.

### Use case

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request to implement this on your own?

- [ ] Yes I am willing to submit a pull request on my own!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.