kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-19411: Fix deleteAcls bug which allows more deletions than max records per user op

Open ahuang98 opened this issue 7 months ago • 1 comments

If there are more deletion filters after we initially hit the MAX_RECORDS_PER_USER_OP bound, we will add an additional deletion record ontop of that for each additional filter.

The current error message returned to the client is not useful either, adding logic so client doesn't just get UNKNOWN_SERVER_EXCEPTION with no details returned.

ahuang98 avatar Jun 16 '25 23:06 ahuang98

Thanks for this fix! One problem I see is that this will allow the deletion to partly go through, until we run out of records. It would be better for the deletion to fail completely or succeed completely...

cmccabe avatar Jun 16 '25 23:06 cmccabe