redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.14k stars 558 forks source link

Prevent decommissioned nodes from serving bad kafka metadata requests #3289

Open jcsp opened 2 years ago

jcsp commented 2 years ago

Currently when a node is decommed, it can stay running and listening for kafka requests, including responding to metadata requests and including itself in the response. This effectively hangs clients if they trust the metadata response.

Thoughts on fixing it:

JIRA Link: CORE-803

jcsp commented 2 years ago

This is a distant cousin of https://github.com/vectorizedio/redpanda/issues/3030, in which nodes shouldn't serve kafka requests before they're properly joined to the cluster.