Dream95 commented on issue #25141:
URL: https://github.com/apache/pulsar/issues/25141#issuecomment-3749562293
The issue is caused by the takeSnapshot operation being in a pending state.
Should add a mechanism to ensure takeSnapshot?
~~~ Java
if (!snapshotTaking.compareAndSet(false, true)) {
log.warn("[{}] There is a pending snapshot when taking snapshot
for {}", topic.getName(), position);
return CompletableFuture.completedFuture(null);
}
~~~
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]