If I want to move pinot table from one tenant to a...
# general
w
If I want to move pinot table from one tenant to another, can I just change the tenant name inside table config? If yes, is there any downtime?
m
Yes, you can change tenant name and perform rebalance. You have the option of specifying whether you want to avoid downtime in the rebalance api.
w
@User How does it work for realtime table? Will the consuming segments be sealed? The offline segments will be loaded to new tenant? How does query work? Will the broker send the query to old tenant or new tenant?
m
Broker will send the query to servers (it does not look at tenant info):
For real-time, there is a option to enable rebalance of consuming segments. I don’t recall if they are sealed or just dropped and consumption starting from checkpoint @User
j
@User If consuming segments are configured to be moved, the new server will re-consume the already consumed events, and the original consuming segment is dropped
w
Are there two ways to do it: 1. Swagger REST API; 2. Edit Table from Cluster Manager? Do both of them work?