Class MetaStoreShadowReader

java.lang.Object
com.linkedin.venice.router.api.MetaStoreShadowReader

public class MetaStoreShadowReader extends Object
This class serves as the shadow read handler of the meta system store.
  • Constructor Details

  • Method Details

    • shouldPerformShadowRead

      public boolean shouldPerformShadowRead(VenicePath path, io.netty.handler.codec.http.FullHttpResponse response)
      Returns:
      True only if a meta store query request is indicated not found in the provided response returned from the storage replica.
    • shadowReadMetaStore

      public io.netty.handler.codec.http.FullHttpResponse shadowReadMetaStore(VenicePath path, io.netty.handler.codec.http.FullHttpResponse originalResponse)
      This method performs shadow read for meta system store request in Router.
      Parameters:
      path - Request path for Meta Store metadata.
      originalResponse - Original response retrieved from storage replica.
      Returns:
      Updated FullHttpResponse with filled in content from metadata repository.