GitHub user wallacepeng edited a discussion: broker healthcheck endpoint 
reports No such ledger exists on Metadata Server -  ledger endless


2024-04-21T03:14:20,474+0000 [pulsar-io-4-7] ERROR 
org.apache.pulsar.client.impl.ProducerImpl - 
[persistent://pulsar/pulsar/pulsar-broker-0.pulsar-broker.pulsar.svc.cluster.local:8080/healthcheck]
 [null] Failed to create producer: 
{"errorMsg":"org.apache.pulsar.broker.service.schema.exceptions.SchemaException:
 No such ledger exists on Metadata Server -  ledger=3596046 - operation=Failed 
to open ledger caused by 
org.apache.pulsar.broker.service.schema.exceptions.SchemaException: No such 
ledger exists on Metadata Server -  ledger=3596046 - operation=Failed to open 
ledger","reqId":3493733038286036253, 
"remote":"pulsar-broker-0.pulsar-broker.pulsar.svc.cluster.local/172.20.203.179:6650",
 "local":"/172.20.203.179:58124"}
2024-04-21 03:14:20.474 
2024-04-21T03:14:20,474+0000 [pulsar-io-4-7] WARN  
org.apache.pulsar.client.impl.ClientCnx - [id: 0xdce5010a, 
L:/172.20.203.179:58124 - 
R:pulsar-broker-0.pulsar-broker.pulsar.svc.cluster.local/172.20.203.179:6650] 
Received error from server: 
org.apache.pulsar.broker.service.schema.exceptions.SchemaException: No such 
ledger exists on Metadata Server -  ledger=3596046 - operation=Failed to open 
ledger caused by 
org.apache.pulsar.broker.service.schema.exceptions.SchemaException: No such 
ledger exists on Metadata Server -  ledger=3596046 - operation=Failed to open 
ledger


this is caused by that internal healthcheck cannot create producer for topic 
persistent://pulsar/pulsar/pulsar-broker-0.pulsar-broker.pulsar.svc.cluster.local:8080/healthcheck
 . 
it reports No such ledger exists on Metadata Server  .

i have bookkeeper clusters, i decommission the default one then it got this 
error . does it still try to create ledger on decommisisoned bookie ?

GitHub link: https://github.com/apache/pulsar/discussions/22545

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@pulsar.apache.org

Reply via email to