Class HelixReadOnlySchemaRepository

java.lang.Object
com.linkedin.venice.helix.HelixReadOnlySchemaRepository
All Implemented Interfaces:
ReadOnlySchemaRepository, StoreDataChangedListener, VeniceResource
Direct Known Subclasses:
HelixReadOnlyZKSharedSchemaRepository

public class HelixReadOnlySchemaRepository extends Object implements ReadOnlySchemaRepository, StoreDataChangedListener
This class is used to cache store schema and provide various query operations. This expected user is router to support venice client schema query operations, and storage node for schema validation; TODO: 1. This class needs to periodically clear/warm up local cache since we might miss some notifications: 1.` Re-connect; One way to achieve to record the previous clear timestamp, and clear it again when the duration exceeds some amount of time in query functions. We need to reach out Helix team for this issue since it will impact Helix cache as well.