Describe the bug
For what I observed deleting schemas currently just marks a schema deleted rather than actually delete it. Now for some reason schemas are simply ignored writing to a once-existing-but-now-deleted topic. Querying a schema for such a topic always returns a 404. The only workaround I found so far is to manually delete the schema in zookeeper.
To Reproduce
tenant/ns/topic using an AvroSchema for examplepulsar-admin schemas get persistent://tenant/ns/topic -> Result okpulsar-admin topics delete persistent://tenant/ns/topic -dtenant/ns/topic with same AvroSchema as abovepulsar-admin schemas get persistent://tenant/ns/topic -> Error 404 Not Found Expected behavior
Deleted schemas should be overwritten by new schemas.
Desktop (please complete the following information):
Additional context
The same behavior can be observed when a topic is deleted automatically due to inactivity.
I hava already started to fix this bug :)
Most helpful comment
I hava already started to fix this bug :)