Technoboy- opened a new issue, #17520:
URL: https://github.com/apache/pulsar/issues/17520

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   - Master branch.
   - Branch-2.11.
   
   
   ### Minimal reproduce step
   
   Run test `ReplicatorTest#testReplicationWithSchema` in the master branch.
   
   The test could run success if revert #17414.
   
   ### What did you expect to see?
   
   The test should pass
   
   ### What did you see instead?
   
   The test fails with :
   ```
   org.apache.pulsar.broker.service.schema.exceptions.SchemaException: Error 
while recovering ledger -  ledger=2 - operation=Failed to open ledger
        at 
java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
 ~[?:?]
        at 
java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347)
 ~[?:?]
        at 
java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1141)
 ~[?:?]
        at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) 
~[?:?]
        at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
 ~[?:?]
   ```
   
   The root cause come from reading bk
   
![image](https://user-images.githubusercontent.com/6297296/188886197-02e32737-2a5f-4143-b957-ea9c831f6065.png)
   
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to