I am running a temporal workflow for polling and using query and heartbeat. After I created more than 100 workflows for performance testing, I started to get a Timeout expired Exception from the query method and I got the following in the logs.
e[2m2023-08-02T09:18:22.307613Ze[0m e[33m WARNe[0m e[2mtemporal_sdk_core::worker::workflowe[0me[2m:e[0m Query not found when attempting to respond to it e[3merrore[0me[2m=e[0mStatus { code: NotFound, message: “query task not found, or already expired”, details: b"\x08\x05\x12(query task not found, or already expired\x1aB\n@type.googleapis.com/temporal.api.errordetails.v1.NotFoundFailure", metadata: MetadataMap { headers: {“content-type”: “application/grpc”} }, source: None }
e[2m2023-08-02T09:18:27.866158Ze[0m e[33m WARNe[0m e[2mtemporal_sdk_core::worker::workflowe[0me[2m:e[0m Query not found when attempting to respond to it e[3merrore[0me[2m=e[0mStatus { code: NotFound, message: “query task not found, or already expired”, details: b"\x08\x05\x12(query task not found, or already expired\x1aB\n@type.googleapis.com/temporal.api.errordetails.v1.NotFoundFailure", metadata: MetadataMap { headers: {“content-type”: “application/grpc”} }, source: None }
Does anyone have any idea about this issue?
Thanks