You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "HGHNice (via GitHub)" <gi...@apache.org> on 2025/05/30 08:34:17 UTC
[I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
HGHNice opened a new issue, #24367:
URL: https://github.com/apache/pulsar/issues/24367
### 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




### Additional information
null
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on issue #24367:
URL: https://github.com/apache/pulsar/issues/24367#issuecomment-6378777375
Thanks @HGHNice for the report. Different storage sizes between clusters don't by themselves mean messages were lost: retention, ledger rollover and subscription backlogs differ per cluster. To look into it we need a reproduction on a currently supported release, plus:
- `pulsar-admin topics stats` and `stats-internal` for one affected topic on both clusters, including the `replication` section (replicator backlog, connected state).
- The message counts produced and received on each side.
- Broker logs from the replicating broker covering the period.
This issue will be closed in a few weeks if there is no update.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
Posted by "HGHNice (via GitHub)" <gi...@apache.org>.
HGHNice commented on issue #24367:
URL: https://github.com/apache/pulsar/issues/24367#issuecomment-2934949130
> > 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.
>
> [@HGHNice](https://github.com/HGHNice) What do you mean with "the messages synchronized from the cluster are far different from the main cluster traffic and storage". Please provide concrete examples of this to make it more understandable.
Or it is not that it is not out of synchronization, but that the delay is relatively large. Is this normal? The following is the storage monitoring of two clusters at the same time.


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
Posted by "HGHNice (via GitHub)" <gi...@apache.org>.
HGHNice commented on issue #24367:
URL: https://github.com/apache/pulsar/issues/24367#issuecomment-2938053003
> > Or it is not that it is not out of synchronization, but that the delay is relatively large. Is this normal? The following is the storage monitoring of two clusters at the same time.
>
> [@HGHNice](https://github.com/HGHNice) Have you checked which subscription has the backlog that retains messages? Taking a look at that could help find out the reason.
this is master cluster subscription status

this is slave node status

It's obvious is different
slave node

master cluster

Can you guide how to check
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
Posted by "HGHNice (via GitHub)" <gi...@apache.org>.
HGHNice commented on issue #24367:
URL: https://github.com/apache/pulsar/issues/24367#issuecomment-2933232585
> > 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.
>
> [@HGHNice](https://github.com/HGHNice) What do you mean with "the messages synchronized from the cluster are far different from the main cluster traffic and storage". Please provide concrete examples of this to make it more understandable.
Currently, I have established a geo bidirectional link between two clusters according to the official website. However, when I produce messages to the main cluster, the expected state should be the same in the storage of the clusters on both sides. But the fact is that there are large storage differences between the two clusters, so I have the doubts in the figure below what other figures I need to provide for analysis

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #24367:
URL: https://github.com/apache/pulsar/issues/24367#issuecomment-2922830611
> 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.
@HGHNice What do you mean with "the messages synchronized from the cluster are far different from the main cluster traffic and storage". Please provide concrete examples of this to make it more understandable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Synchronization using geo's namespace-level replicas Message lost [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #24367:
URL: https://github.com/apache/pulsar/issues/24367#issuecomment-2936841052
> Or it is not that it is not out of synchronization, but that the delay is relatively large. Is this normal? The following is the storage monitoring of two clusters at the same time.
@HGHNice Have you checked which subscription has the backlog that retains messages? Taking a look at that could help find out the reason.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org