General question: Why is pinot broker/controller a...
# general
j
General question: Why is pinot broker/controller a statefulset in the helm chart? Those can be deployments isnt it? They dont have any persistence afaik.
m
Pinot is a distributed system. Data is one component, but there is also metadata (cluster state), and these components need persistent metadata from ZK. Also cc: @User in case of more comments.
x
Pinot controller can have local disk to serve as deep store for segment download, in that case, the registered download uri has to have fixed control pod name, so controller should be statefulset
j
I see. I thought metadata is only in zookeeper not persisted by the controller/broker
x
For Pinot broker, the default setup is all on default tenant, however, users have the ability to assign tenant for each broker and Pinot internal will maintain the mapping for which broker has which tables to serve.
Metadata is in zookeeper, but has the reference to internal contoller/broker pod name references
j
Ya ofc..that makes sense