apache / apache/pulsar

[Bug] Synchronization using geo's namespace-level replicas Message lost

Open
#24,367 5 comments 0 reactions 0 assignees View on GitHub
type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before reporting

- [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Read release policy

- [x] I understand that [unsupported versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions) don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

### User environment

pulsar version 3.0.11

### Issue Description

Currently, there are two clusters that have set up geo namespace replica synchronization, but in one of the clusters, it is found that the messages synchronized from the cluster are far different from the main cluster traffic and storage.

### Error messages

```text
No error message was seen
```

### Reproducing the issue

![Image](https://github.com/user-attachments/assets/528198f2-856b-4ecf-b0ca-da8396bdd538)

![Image](https://github.com/user-attachments/assets/17777e3b-ee81-45ab-bd6e-4d81d884a550)

![Image](https://github.com/user-attachments/assets/dad20910-eee0-406e-96d9-37f3be72f208)

![Image](https://github.com/user-attachments/assets/1159b42a-6f62-4744-a8f0-05398b2f9257)

### Additional information

null

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the geo namespace replica synchronization issue with Pulsar 3.0.11, or a supported client and broker version, using the two-cluster setup described. Compare synchronized message traffic and storage between clusters; done means messages are no longer lost and replica traffic matches the main cluster.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.