You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UpdateMetadata RPC should update table path cache #757
I searched in the issues and found nothing similar.
Description
Currently, UpdateMetadata RPC only updates coordinator and tablet server informations in the cluster, but we should also update table path information in the cluster. This has already added in the RPC protocol, but didn't implement in Coordinator side and TabletServer side.
@caozhen1937 Getting all tablePath by MetadataManager is a very heavy operation for zookeeper and should be avoided. The implementation is a little complex. We need to send updateMetadata for every table creation and deletion and also when the initialization of a coordiinator server.
This task is in a high priority, thus I have been working it. Thanks for volunteering.
Activity
caozhen1937 commentedon Apr 17, 2025
@wuchong, I would like to implement it. Can you assign it to me?
In
CoordinatorEventProcessor#updateServerMetadataCache, get alltablePathbyMetadataManager.wuchong commentedon Apr 17, 2025
@caozhen1937 Getting all
tablePathbyMetadataManageris a very heavy operation for zookeeper and should be avoided. The implementation is a little complex. We need to sendupdateMetadatafor every table creation and deletion and also when the initialization of a coordiinator server.This task is in a high priority, thus I have been working it. Thanks for volunteering.
wuchong commentedon May 14, 2025
cc @swuferhong