Metadata index requests should not block agent messages
Summary: currently, the metadata index requests are blocking the processing of any agent messages. this should only really happen when a cluster starts up, or when cloud sees any metadata is missing. when metadata receives a message on nats, it either calls the agentHandler.HandleMessage function, which puts the message on the correct agent channel. Or, if it is a request for missing metadata for the cloud indexer, it calls the MetadataTopicListener.HandleMessage function, which makes the request to etcd and sends out the response. this needs to be processed in a separate channel. Test Plan: ran skaffold Reviewers: zasgar, #engineering Reviewed By: zasgar, #engineering Differential Revision: https://phab.corp.pixielabs.ai/D6183 GitOrigin-RevId: 1ac7e757dd36f4e4647efb3d35e4bc1ba88d1af2
Showing
+49 -4
Please register or sign in to comment