Relationships are not loading properly

We have containerized SuiteCRM 7.11.20 and deployed it in the ECS cluster and we are using EFS for the persistence storage for cache/ and uploads/ folder.

We have noticed the weird behavior on the Production as well as in the Test Environment,
Sometimes the relationships are not loading properly that is the reason we are getting the below error:

PHP Fatal error: Uncaught Error: Call to a member function add() on null in SugarBean.php:2815

And the error in the suitecrm.log is:

[ERROR] Unable to find Relationship accounts_cases

When we try to repair and rebuild it will work not every time. If it does not get solved by repair and rebuild then we have to redeploy the application.