Running into the following upstream connect error or disconnect/reset before headers. reset reason: connection termination issue after upgrade

I recently upgraded Grafana from version 8.5.0 to 9.3.0 and am encountering intermittent upstream connection issues. While debugging, I noticed that in the previous version, only a few API calls were made when searching for a dashboard or folder name. However, in the new version, hundreds of API calls are triggered with requests like search?limit=1000&sort=name_sort&type=dash-db&folderIds, which seems to be causing connection failures and leading to pod restarts. Has anyone else experienced a similar issue?

I noticed that the issue with excessive API calls in Grafana 9.3.0 doesn’t occur if I clear the cache and cookies in my browser. Could this behavior be related to caching, or might there be another underlying cause triggering these additional API calls?

Problem might be related to how Grafana is handling caching after the upgrade. When you deploy a new version, cached data in the browser may conflict with changes in the updated Grafana instance, potentially leading to issues like excessive API calls. Clearing the browser cache helps in resolving this issue but this is an issue if someone tries to hit Grafana after upgrade without clearing browser cache. Any inputs on this would be greatly appreciated