pulsar
pulsar copied to clipboard
[fix][broker] The result is inaccurate when schema is non-recoverable in method trimDeletedSchemaAndGetList.
Motivation
The return secheamResult is inaccurate when schema encounter an non-recoverable exception in method trimDeletedSchemaAndGetList
.
Although, we executed the trimDeletedSchemaAndGetList
method at line 563, however the returned result is not used. We finally still returned list
at line 568 schemaResult.complete(list)
Modifications
Replace list
with the method trimDeletedSchemaAndGetList
result.
Documentation
- [ ]
doc
- [ ]
doc-required
- [x]
doc-not-needed
- [ ]
doc-complete