lhotari opened a new pull request #10247: URL: https://github.com/apache/pulsar/pull/10247
### Motivation While investigating the issue about geo replication, #10054 , I came across some issues with handling of some deserialized replicated subscriptions related messages. LightProto reuses thread local instances and therefore a copy must be made before sharing with other threads. ### Modifications - Make a copy of `ReplicatedSubscriptionsSnapshot` before adding it to `ReplicatedSubscriptionSnapshotCache` - Make a copy of `MarkersMessageIdData` before adding it to `responses` map in `ReplicatedSubscriptionsSnapshotBuilder` -- 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. For queries about this service, please contact Infrastructure at: [email protected]
