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
Mayank
04/01/2022, 8:28 PM
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
Xiang Fu
04/01/2022, 11:12 PM
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
Jagannath Timma
04/01/2022, 11:14 PM
I see. I thought metadata is only in zookeeper not persisted by the controller/broker
x
Xiang Fu
04/01/2022, 11:14 PM
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.
Xiang Fu
04/01/2022, 11:15 PM
Metadata is in zookeeper, but has the reference to internal contoller/broker pod name references