Bug #63335
closedNotification kafka: Persistent messages are removed even when the broker is down and no ack is received
100%
Description
This is the regression caused due to changes in https://github.com/ceph/ceph/pull/51864.
Currently the way Kafka processing works when the ACK level is set broker, is notification is sent to kafka using the rd_kafka_produce(), which currently DOES not return -1 if the BROKER is down.
But when the broker is down, the CALLBACK from kafka acknowledgement is never returned and hence this ack is propagated back to notification system which then does a retry and does not delete the persistent notification from queue.
But after the https://github.com/ceph/ceph/pull/51864, the connection was destroyed after idle_timeout and callbacks were invoked with SUCCESS, so even tho the notification were not delivered, they were removed from the queue because the callback was invoked with sucess.
CB Updated by Casey Bodley about 3 years ago
- Status changed from New to Fix Under Review
- Assignee set to Yuval Lifshitz
CB Updated by Casey Bodley over 2 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to reef quincy
UB Updated by Upkeep Bot over 2 years ago
- Copied to Backport #64792: reef: Notification kafka: Persistent messages are removed even when the broker is down and no ack is received added
UB Updated by Upkeep Bot over 2 years ago
- Copied to Backport #64793: quincy: Notification kafka: Persistent messages are removed even when the broker is down and no ack is received added
YL Updated by Yuval Lifshitz over 2 years ago
- Backport changed from reef quincy to squid reef quincy
UB Updated by Upkeep Bot over 2 years ago
- Copied to Backport #64861: squid: Notification kafka: Persistent messages are removed even when the broker is down and no ack is received added
KS Updated by Konstantin Shalygin almost 2 years ago
- Status changed from Pending Backport to Resolved
- Target version set to v20.0.0
- % Done changed from 0 to 100
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 70fbeb1746f1f48e068e9696c33449e5bdc96663
- Fixed In set to v19.0.0-11-g70fbeb1746f
- Released In set to v19.2.0~1126
- Upkeep Timestamp set to 2025-07-11T21:10:51+00:00